Twitter time warp
-
Yesterday, Twitter started having issues due to it returning the wrong year in its HTTP headers.
Among other things, it logged out users of the Android Twitter app and Twitter's Tweetdeck app was displaying all messages as being posted a year ago.
Word on the street is that Twitter used the wrong date formatting code... they used the ISO year instead of the calendar year, but the ISO year for this week is 2015.
-
Week numbers, how do they work?
-
I can confirm. As with any piece of software, I just let it sleep and it was fine in the morning.
-
Word on the street is that Twitter used the wrong date formatting code... they used the ISO year instead of the calendar year
Using "o" instead of "Y" is a WTF.
-
Right, there's one other tidbit I forgot to mention:
They were returning Expires headers with the correct year (2014), so the Expires header was earlier than the Date header.
-
They were returning Expires headers with the correct year (2014), so the Expires header was earlier than the Date header.
i've seen that more often than i like.
of course usually when i see it the expires header is set to 1970-01-01T00:00:00Z and the cache control headers are also set to say this thing shouldn't be cached at all...oh... nevermind.
you said Date in past and Expires in future. I see that too, but it's usually because the resource is cacheable
-
you said Date in past and Expires in future. I see that too, but it's usually because the resource is cacheable
More like Expires in the future and Date in the farther future.
-
More like Expires in the future and Date in the farther future.
fair enough... that is a WTF then.
-
Invalid date too - I saw somewhere that they were specifying Date: Mon 29 Dec 2015. 29 Dec 2015 isn't a Monday.
That may or may not cause some user agents to discard the header entirely.
-
My New Year's resolution for 2014-54-12/30/14 Dec:12:1420001642 is to learn these stupid time formatting strings.
-
That's quite unusual to post title-text and not the image. Usually it's the other way round.
-
The image wasn't relevant, but the title-text was.
-
I know, but still.
-