Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • 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).

    • 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
      • by srezic (8057) on 2009.09.02 17:25 (#70472) Journal

        I notices recently that does not show a TZ. Neither the Mediawiki-based page for the CPAN Meta spec proposal mentioned some days ago here (

        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.