$ git log --format=%cd --date=format:'%Y-%m-%d %H:%M:%S'
2024-04-17 11:24:09 <- this is actually in BST
2024-01-16 12:14:26 <- this is actually in UTC
2024-01-12 14:24:56 <- this is actually in UTC
$ TZ=UTC0 git log --format=%cd --date=format-local:'%Y-%m-%d %H:%M:%S'
2024-04-17 10:24:09 <- this is actually in UTC
2024-01-16 12:14:26 <- this is actually in UTC
2024-01-12 14:24:56 <- this is actually in UTC
PLAT-4232 - changing mergetime to always be UTC
The DATE below shows as "+0100" and "+0000"
$ git log --format=%cd --date=format:'%Y-%m-%d %H:%M:%S' 2024-04-17 11:24:09 <- this is actually in BST 2024-01-16 12:14:26 <- this is actually in UTC 2024-01-12 14:24:56 <- this is actually in UTC
$ TZ=UTC0 git log --format=%cd --date=format-local:'%Y-%m-%d %H:%M:%S' 2024-04-17 10:24:09 <- this is actually in UTC 2024-01-16 12:14:26 <- this is actually in UTC 2024-01-12 14:24:56 <- this is actually in UTC