Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Patch for projectfileoptionsdlg.cpp
GeO:
Just some optical improvements:
-Layout the Dialog after inserting values
-Better formatting of date and time
-added bytes to the filelength (18456 bytes)
[attachment deleted by admin]
Ceniza:
According to the patch the date is shown using the current locale. That means those of us who have configured the system to show it as dd/mm/yyyy would get it like that. That was my concern.
Patch looks good to me. I have NOT applied it, though.
GeO:
Here is an update:
i reverted my date formating changes, but i changed the format string, so that the values will be filled with 0 if they are less then 10.
old format string:
--- Code: ---"%ld/%ld/%ld %ld:%ld:%ld"
--- End code ---
new format string:
--- Code: ---"%02ld/%02ld/%ld %02ld:%02ld:%02ld"
--- End code ---
[attachment deleted by admin]
killerbot:
great, but I think the %ld Bytes should be _() since the word bytes could be translated into other languages.
killerbot:
On my OpenSuse 10.3 box (aged distribution ;-) ), I get the following for a timestamp (exiting CB code, the patch not applied yet) :
21/3/2010 14:140733193388067:22
Navigation
[0] Message Index
[#] Next page
Go to full version