Hi all,

Today I pulled myself together and added support for week numbers in the
clock display.
As of next release of DQSD (clock.js more specifically), you can add a "W"
to your clock format string, and have it rendered as the current week
number.

Mine currently looks like this:

        clocklongform  = " EEE yyyy-MM-dd HH:mm, week W";

which at the moment renders:

        Thu 2004-09-02 18:39, week 36

While looking for a good week number algorithm, I noticed that there are
apparently a number of different week number systems throughout the world. I
settled for the one dictated by ISO8601 (I think), which also happens to
coincide with what I think is natural in Sweden.

Hope someone'll find it useful,
Kim



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to