Bug 216 - Date/time format does not follow my system settings
Bug#: 216 Product:  i.Scribe/InScribe Version: v2.00 beta17 Platform: PC
OS/Version: Windows XP Status: RESOLVED Severity: minor Priority: P4
Resolution: FIXED Assigned To: fret@memecode.com Reported By: bugzilla@jbw.pl
Component: User Interface
URL: 
Summary: Date/time format does not follow my system settings
Opened: 2010-01-17 22:49
Description:   Opened: 2010-01-17 22:49
I have date format set to: "(auto)". IMO it should reflect my OS settings, but
it doesn't. My dates everywhere in Windows looks like 2010-01-05, but Scribe
compacts them to 2010-1-5. This is the matter of conformance and user's habit.
They look strange to my eyes and I feel lost especially in lists because parts
of dates and times are not aligned along the straight lines.

I'd like to see dates and times exactly how they are defined in system (with 
leading zeroes in my case). Other formats should be the option.

------- Comment #1 From Matthew Allen 2011-02-01 00:50:28 -------
I've added some flags to add leading zeros to the internal date format. But I'm
not going to do the formats that convert the day and months to their names.
That introduces a world of pain, because they are all internationalized and
can't be easily converted back to numbers.

------- Comment #2 From Matthew Allen 2011-02-09 10:02:01 -------
Also I will note here that leading zero formatting only works with the "Auto"
date setting in Scribe. If you set it to one of the overriding formats there is
no option for leading zeros. This is more a UI issue than a back end issue but
it seems reasonable. Also leading zeros is a windows only thing at this point.

If anyone is interested in adding support for leading zeros in other OS's then
knock yourself out:
http://lgi.svn.sourceforge.net/viewvc/lgi/trunk/src/common/General/GDateTime.cpp?revision=180&view=markup