So my intention is to put out dates that would look like the following:
Today, August 28
Tomorrow, August 29
Friday, August 30
...etc
The issue is that it seems I can only get so close.
When I setDoesRelativeDateFormatting:YES
and setDateStyle
to Full
and setTimeStyle
to None
, it yields results like this:
Today
Tomorrow
Friday, August 30, 2013
This yields the year and does not yield month and date for today and tomorrow.
The other code I've tried is this:
[NSDateFormatter dateFormatFromTemplate:@"eeeedMMM" options:0
locale:[NSLocale currentLocale]];
and that yields the following:
Wednesday, August 28
Thursday, August 29
Friday, August 30
Seemingly, the dateStyle and timeStyle, or the relative date formatting overrides the custom format.
Is there a way to accomplish this date format without going into a custom implementation?
Thanks in advance!