summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/string/Timestamp-stderr.txt
Commit message (Collapse)AuthorAgeFilesLines
* string(TIMESTAMP): Add %z and %Z for adding time zone stringVasiliy Koyrev2022-10-271-1/+1
| | | | Fixes: #24056
* string(TIMESTAMP): add %f specifier for microsecondsPeter Würth2022-01-281-1/+1
| | | | | | | | | | | | | | | | | | The %f specified extends the string(TIMESTAMP) and file(TIMESTAMP) commands to output the timestamp with a microsecond resolution. This convention is offered by python's datetime module. Before, the precision was limited to seconds. The implementation is done by extending existing cmTimestamp methods with a `microseconds` parameter. This parameter is optional in order to be backwards compatible. The timestamps are now received in a cross-platform manner using libuv, since the standard C functions like time() don't allow for sub-second precision. This requires libuv 1.28 or higher. We already require higher than that on Windows, so update the required version for other platforms. Implements: #19335
* string(TIMESTAMP): Add %V specifier for ISO 8601 week numberAntons Jeļkins2021-08-021-1/+1
| | | | | | In ISO 8601 weeks begin with Monday. The first week of the year is the week which contains the first Thursday of the year.
* Timestamp: support %A and %BBernhard M. Wiedemann2017-09-071-1/+1
| | | | | | | | These are defined both by [1] and [2] to give full names of a weekday and month. [1] http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html [2] https://msdn.microsoft.com/de-de/library/fe06s4ak.aspx
* string: Teach TIMESTAMP to treat %% as %Bernhard M. Wiedemann2017-01-271-1/+1
| | | | This encoding is documented by `strptime`.
* cmTimestamp: Support SOURCE_DATE_EPOCH to override current timeBernhard M. Wiedemann2017-01-261-0/+1
See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.