summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/string/TimestampInvalid.cmake
blob: ab362708aae137273c6e6a635c45b3c6f4d60654 (plain)
1
2
3
set(ENV{SOURCE_DATE_EPOCH} "invalid-integer")
string(TIMESTAMP RESULT "%Y-%m-%d %H:%M:%S" UTC)
message("RESULT=${RESULT}")