On Sun, May 30, 2010 at 11:01:50PM +0200, pascal wrote:
Le Sun, 30 May 2010 16:12:08 -0400
Kris Maglione <maglion...@gmail.com> a écrit:
Why would you want any kind of locale-specific time? Here's what
I do:
@defmonitor(colors=wmii['focuscolors'], name='time')
def s9time(self):
return time.strftime('%H:%M:%S %Z')
@defmonitor(interval=60)
def s9date(self):
return time.strftime('%a, %d %b')
It's a detail but I prefer to read for example "Dim, 30 Mai"
instead of "Sun, 30 May".
Interesting. I don't especially care what language it's in, so
long as I can read it.
--
Kris Maglione
If debugging is the process of removing bugs, then programming must be
the process of putting them in.
--Edsger W. Dijkstra