> On Mar 25, 2016, at 08:43, Gerriet M. Denkmann <[email protected]> wrote:
>
> In my calendar 2016/3/1 is a Friday, but:
Something's wrong with your calendar then :). March 1, 2016 *is* a Tuesday:
% cal
March 2016
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
>
> - (NSString *)timerStringFor: (NSDate *)date
> {
> NSDateFormatter *dateFormatter = [ [ NSDateFormatter alloc ] init];
> dateFormatter.dateFormat = @"EEE dd MMM yyyy HH:mm:ss ZZZ";
> NSString *un = [ dateFormatter stringFromDate: date ];
> NSLog(@"%s %@",__FUNCTION__, un); // Tue 01 Mar 2016
> 01:00:00 +0700
> return un;
> }
>
> prints “Tue 01 Mar 2016 01:00:00 +0700”
>
> What am I doing wrong?
>
> Gerriet.
>
> Mac OS X 10.10.5
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/clarkcox3%40gmail.com
>
> This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]