Re: GIF frame duration

2014-03-26 Thread D. Felipe Torres
That is normal and documented behaviour for GIFs. Here are some links about it: http://nullsleep.tumblr.com/post/16524517190/animated-gif-minimum-frame-delay-browser-compatibility http://blogs.msdn.com/b/ieinternals/archive/2010/06/08/animated-gifs-slow-down-to-under-20-frames-per-second.aspx On

NSDateFormatter fails

2014-03-31 Thread D. Felipe Torres
Given the following code: NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@"-MM-dd'T'HH:mm:ss"]; NSLog(@"Date from String: %@", [formatter dateFromString:@ "2013-09-08T00:36:40"]); The log produces: Date from String: (null) For other strings from the sam

Re: NSDateFormatter fails

2014-03-31 Thread D. Felipe Torres
I just pasted it from CodeRunner. I changed 00 for 0X where X is a number and it worked. On Mon, Mar 31, 2014 at 3:09 PM, Jens Alfke wrote: > > On Mar 31, 2014, at 10:56 AM, D. Felipe Torres > wrote: > > NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; > [forma

Re: NSDateFormatter fails

2014-03-31 Thread D. Felipe Torres
Shortly after I replied I tried using that locale and no luck. My code now looks like this: NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@"-MM-dd'T'HH:mm:ss"]; NSLocale *locale = [NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]; [formatter setLocal

Re: NSDateFormatter fails

2014-03-31 Thread D. Felipe Torres
I found out it only fails under my current timezone: I posted the entire thing on stackoverflow: http://stackoverflow.com/questions/22768918/nsdateformatter-fails-with-string-that-seems-correct Now all left is finding a workaround On Mon, Mar 31, 2014 at 3:53 PM, Jens Alfke wrote: > What OS/v