GNOME Bugzilla – Bug 623098
In Orca preferences GUI window, Need do a gui control to set date/time present format
Last modified: 2010-06-29 08:45:23 UTC
Dear Developers, We do a present date and present time feature in Orca master version, with supports various date/time format. In src/orca/settings.py file have following this feature related settings: # Format directives to use in presentDate function. # By default we use the date format according to the current locale. # These format strings are passed to python's time.strftime function. To see # possible directives to embed in the format strings check: # http://docs.python.org/library/time.html#time.strftime # DATE_FORMAT_LOCALE = "%x" DATE_FORMAT_WITH_LONG_NAMES = "%A, %d, %B, %Y." DATE_FORMAT_WITH_SHORT_NAMES = "%a, %d, %b, %Y." presentDateFormat = DATE_FORMAT_LOCALE # Format directives to use in presentTime function. # By default we use the time format according to the current locale. # These format strings are passed to python's time.strftime function. To see # possible directives to embed in the format strings check: # http://docs.python.org/library/time.html#time.strftime # TIME_FORMAT_LOCALE = "%X" TIME_FORMAT_24_HMS = "%H:%M:%S" # Translators: Orca has a feature to speak the time # when the user presses a shortcut key. # This is one of the alternative formats that the # user may wish to be presented with. # TIME_FORMAT_24_HMS_WITH_WORDS = _("%H hours, %M minutes and %S seconds.") TIME_FORMAT_24_HM = "%H:%M" # Translators: Orca has a feature to speak the time # when the user presses a shortcut key. # This is one of the alternative formats that the # user may wish to be presented with. # TIME_FORMAT_24_HM_WITH_WORDS = _("%H hours and %M minutes.") presentTimeFormat = TIME_FORMAT_LOCALE Because possible little difficult change the beginner users with this settings in .orca/user-settings.py file, need do two GUI preference control with changing this settings, one with change the date format, and one with change the time format with required setting value. Attila
*** This bug has been marked as a duplicate of bug 621535 ***