There are a lot of thins you don’t notice or analyze deeply enough until they cross into your area.
I am using Twitter few months already and I never though of why they don’t show the exact time of the tweet but instead shows something like “Posted XX minutes ago…”. Undoubtely this is good way of expressing what the end users need, since I don’t need to know exactly when my friend posted a tweet.
But after I’ve played a bit with times, time zones and date formatters in Java I found out that there is no nice way of determination the client time zone on the server. HTTP request for some unknown reason does not provide any headers for this purpose and that is why a lot of web-apps prompts you to enter your time zone when you first log in.
The only way to do the thing is to use Java Script on the client to determine the time zone and pass this info in the request. But even then you have a lot of shit with DST and other stuff.
Someone in the Twiiter team perfectly resolved the problem by suggesting that users will be happy with knowing how many minutes ago the post was written. That is much more easier to implement. Wonderful
Recent Comments