User forums > General (but related to Code::Blocks)

Date format in source files

(1/1)

jdx:
I have noticed that recently date format has been changed in a few files, e.g. see version.h in r13258. This format is misleading, taking into account that C::B is an open, international project. E.g. what would 23/04/23 mean? The correct date format for such projects should be ISO 8601.

ollydbg:
I agree.
I like the YYYY-MM-DD format mentioned in ISO 8601.
One question:  Where is the file "version.h"?
In my local C::B build folder, I only find a file named "autorevision.h", and I see it does use YYYY-MM-DD format in its svnDate value.

jdx:
I meant "version.h changed in revision 13258". It's actual location is <SRC_ROOT>/src/plugins/contrib/codesnippets/version.h.

ollydbg:

--- Quote from: jdx on April 14, 2023, 05:09:24 am ---I meant "version.h changed in revision 13258". It's actual location is <SRC_ROOT>/src/plugins/contrib/codesnippets/version.h.

--- End quote ---
OK, I see,  It is in a plug in source code.
I suggest every plugin should use the standard time format.

ollydbg:
I have wrote a ticket here:
Code::Blocks / Tickets / #1394 Date format in source files, I think it should be YYYY-MM-DD

Navigation

[0] Message Index

Go to full version