Menu

#247 Editor Status History

open
nobody
None
5
2005-05-17
2005-05-17
Anonymous
No

Mr. Riaan Booysen,

I've noticed that the Editor Status History doesn't
obey the local hour ( as you know this program goes to
several countries by internet ), so for solve that
problem I've just changed it in the EditorUtils module,
as follow:

from:
self.history.append((msgType, time.strftime('%H:%M:%S',
time.gmtime(time.time())), hint, ringBell))

to:
self.history.append((msgType, time.strftime('%H:%M:%S',
time.localtime(time.time())), hint,
ringBell))

I recommend you to do the same thing for future versions.

Cordially,

Ademir Francisco da Silva
ademirfs_tln@itelefonica.com.br
( BRAZIL )

Discussion


Log in to post a comment.

MongoDB Logo MongoDB