Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: New timezones and datetime format

by BUU (Prior)
on Aug 23, 2002 at 20:13 UTC ( [id://192435] : note . print w/replies, xml ) Need Help??

in reply to New timezones and datetime format

Thats a good fix, but i had an idea for another one. It seems to me that all the datetimes here now are all 'absolute' (ignoring any arguements about what is absolute, is time absolute, etc). Why not a relative datetime? '2 days ago' Means a lot more then 'august 19' (or whatever day it was)Also note that this has the advantange of being totally timezone agnostic.

Replies are listed 'Best First'.
Re: Re: New timezones and datetime format
by theorbtwo (Prior) on Aug 24, 2002 at 03:47 UTC

    Write code to handle a combination strftime/reltime format, given every concevibly useful format, and I'll see about hammering it into the time-formatting code here. Remember that people generaly are going to want sliding-scale precision here -- I care about rel. seconds if it's within a day, but I don't even care about rel. hours if it's over a year.

    Confession: It does an Immortal Body good.

      I always care about a node's exact time. It may not be interesting compared to when I'm reading a node, but is compared to its siblings' times. If a relative format was in use, I might use it if it can be shown in addition to the absolute times. If not, I'd switch it off (and be very annoyed if I can't, naturally).

      Makeshifts last the longest.