Brad Fitzpatrick (bradfitz) wrote in changelog,
Brad Fitzpatrick
bradfitz
changelog

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu Sep 29 17:28:04 UTC 2005

Modified Files:
---------------
livejournal/bin/upgrading/s2layers: core1.s2
livejournal/cgi-bin/LJ: S2.pm

Log Message:
------------
update to timezone display. new defaults:

If you're logged in:

text: 2005-09-29 5:28 pm (local)
tooltip: 15 minutes after post, 7:28 pm (bob's time)

If you're not logged in:

text: 2005-09-30 01:28 am (UTC)
tooltip: 15 minutes after post, 7:28 pm (bob's time)

And now tooltip works in all browsers, including IE.

The ISO 8601 date format, as above, is recommended, but any other
non-ambigous date format is okay. LiveJournal's "The Boxer" style,
for instance, uses "Teu, Sep 28th, 2005", which is acceptable.

Examples of not-acceptable date formats include:

09/28/05
28/09/05
05/09/28

etc

If it's going to be only numbers, then it must be ISO 8601
(yyyy-mm-dd).

Note on time format's and am/pm vs 24 hour time: this is a style
preference. Any time format is acceptable. The timezone code just
uses the existing style-configured "short" time format.


To generate a diff of this commit:
cvs rdiff -r1.116 -r1.117 livejournal/bin/upgrading/s2layers/core1.s2
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/s2layers/core1.s2.diff?r1=1.116&r2=1.117
cvs rdiff -r1.184 -r1.185 livejournal/cgi-bin/LJ/S2.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/S2.pm.diff?r1=1.184&r2=1.185
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment