NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Time zones (Score:1)
What I don't like about absolute times is that everybody is forgetting to display the time zone. Or it would be nice if the time would be displayed in my local time zone (I think this should be possible using Javascript).
Re: (Score:2)
Every decent site I've seen allows you to select your timezone.
Of course, personally I'm a complete geek, and my timezone is "UTC", but normal people can get US/Central, Europe/London, or whatever.
This has been a solved problem for years. Even DST can and does happen automatically. (Of course, for those of us who want it to NOT happen, some sites are still a problem.)
No Javascript required, at all. Slashcode has done it without Javascript since 2001 or so.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Time zones (Score:1)
I notices recently that rt.cpan.org does not show a TZ. Neither the Mediawiki-based page for the CPAN Meta spec proposal mentioned some days ago here (http://perl-qa.hexten.net/wiki/index.php/CPAN_Meta_Spec_Proposals).
Then I went curious: how does Wikipedia does it? No time zone either there. But the German pages displayed the last modification date in my local time zone! Without any javascript, it is part of the HTML. Then I wandered around the recent changes page in the various Wikipedia languages to find out the time zone used there: most use UTC, some use CEST. I hoped to find a pattern like "if a language is mostly spoken only in one time zone, then use this one, otherwise UTC", but it does not seem to exist a pattern.
Reply to This
Parent