GNOME Bugzilla – Bug 551861
Date/Time formats
Last modified: 2009-05-08 03:25:54 UTC
Sudoku has some strange date/time formats: #. then we're today #. Translators, see strftime manual in order to translate %? format strings #: ../gnome-sudoku/src/lib/timer.py:72 msgid "Today %R %p" #. Translators, see strftime manual in order to translate %? format strings #: ../gnome-sudoku/src/lib/timer.py:75 msgid "Yesterday %R %p" #. Translators, see strftime manual in order to translate %? format strings #: ../gnome-sudoku/src/lib/timer.py:81 msgid "%A %B %d %R %p" According to strftime documentation, %R is the time in 24-hour-format and %p is AM/PM, so we end up with something like this: Python 2.5.2 (r252:60911, Jul 8 2008, 21:21:10) [GCC 4.3.1 20080626 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import datetime >>> a = datetime.datetime(2008, 9, 9, 23, 11) >>> a.strftime("Today %R %P") 'Today 23:11 pm' >>> How does this make any sense? #. Translators, see strftime manual in order to translate %? format strings #: ../gnome-sudoku/src/lib/timer.py:112 msgid "%B%e" Shouldn't there be a comma in between? Looks like this: >>> a = datetime.datetime(2008, 9, 9, 23, 11) >>> a.strftime("%B%e") 'September 9' >>> a = datetime.datetime(2008, 9, 20, 23, 11) >>> a.strftime("%B%e") 'September20' >>> Even if this the intended behaviour, please add comments that make this clear.
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. *** This bug has been marked as a duplicate of 534019 ***