MM/DD/YY to DD/MM/YY
Forum: DSL Tips and Tricks
Topic: MM/DD/YY to DD/MM/YY
started by: RoGuE_StreaK
Posted by RoGuE_StreaK on Sep. 06 2005,12:53I noticed quite some time ago that the default DSL setup uses the MM/DD/YY date format in the fluxbox toolbar, as opposed to the DD/MM/YY format used by most(?) non-US countries, but forgot to follow it up with some investigation.
Well, I remembered again, and I think I've found the quick fix for those of us wanting to change the date format. Just edit you /home/dsl/.fluxbox/init file, changing the line
Then just add this file to your backup for auto "deYankDateification"
You can also change a heap of other time / date display options if you so desire, using the strftime syntax
< man strftime >
Posted by adssse on Sep. 06 2005,14:19Very cool. I like the dd/mm/yy format better also.
Posted by SaidinUnleashed on Sep. 06 2005,14:51Personally, I like the Aug 13, 2005 format.
Understandable by all, rather than confusing to any particular country.
Posted by mikshaw on Sep. 06 2005,15:43SU: that's pretty close to what I have:
%a %b %d %I:%M
%a shows the abbreviated week day
Posted by RoGuE_StreaK on Sep. 07 2005,01:12
Yeah, I use the format "7/September/2005" when I do a "document last updated" on any sites I develop. Actually naming the month removes any confusion as to which column could be day and which could be month.
Maybe the default DSL settings should use the abbreviated month? (day can be anywhere, as JP said).
Oh, BTW, does anyone know of a "desktop calender" for linux, ie., a calender that sits on your wallpaper, like torsmo does? Preferably with the ability to add notes/memos?
If so, any chance of getting an extension?
Posted by mikshaw on Sep. 07 2005,02:01I'd looked for one quite a while ago, after getting accustomed to using desktop calendar in windows....so far no luck finding one.
Posted by Borderpatrol on Sep. 07 2005,20:48I use the D/M/Y and im a yank. Not all nonYanks use it.
Posted by 9a6or on Sep. 12 2005,23:13Is there any way to add a space to the beginning of the string?
Posted by mikshaw on Sep. 13 2005,00:57Not at the beginning. fluxbox/init uses whitespace as a separator between resources and values, so any spaces at the beginning would just be read as more whitespace.
Only thing i can suggest is to add something small, like a period, at the beginning of the string and put the spaces after the period.
You could also use something a bit more visually appealing to add space, like braces:
[ %a %b %d %I:%M ]