mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 15:48:52 +00:00
6c54f7b365
This encoding is documented by `strptime`.
4 lines
164 B
CMake
4 lines
164 B
CMake
set(ENV{SOURCE_DATE_EPOCH} "1123456789")
|
|
string(TIMESTAMP RESULT "%Y-%m-%d %H:%M:%S %a %b %y day=%j wd=%w week=%U %%I=%I epoch=%s" UTC)
|
|
message("RESULT=${RESULT}")
|