[Bug preprocessor/30867] Can we have a new __DATE__ which is sortable, eg YYYY-MM-DD
andrew_dowden at softdesign dot net dot nz
gcc-bugzilla@gcc.gnu.org
Fri May 23 22:54:00 GMT 2008
------- Comment #5 from andrew_dowden at softdesign dot net dot nz 2008-05-23 22:53 -------
Strongly agree, can not change existing use/std. as relates to C89/C90 etc.
Would also suggest (as minor alternative):
__DATEI__ date index-order, numeric, sort friendly; also US-military, etc..
output: yyyymmdd eg. 20080524
__DATEI-EN__ date index-order, non-ambiguous, English(US/GB)
output: yyyy-Mmm-dd eg. 2008-May-24
__DATEI-FR__ date index-order, non-ambiguous, Français(FR)
output: yyyy-Mmm-dd eg. 2008-Mai-24
__DATEI-DE__ date index-order, non-ambiguous, Deutsch(D) ETC..
__TIMEI__ time index-order, 24HR, sort friendly
output: hh:mm:ss eg. 10:53:14
__TIMEN__ time index-order, 24HR, numeric, sort friendly
output: hhmmss eg. 105314
--
andrew_dowden at softdesign dot net dot nz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew_dowden at softdesign
| |dot net dot nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30867
More information about the Gcc-bugs
mailing list