I'm trying to get a creation and a modified time stamp for a file from git
Currently I'm using
# get creation date (date file was first checked into git)
git log --format="%cd" --date=unix --diff-filter=A path/to/file
# get modified data (last time file was commited to git)
git log --format="%cd" --date=unix --max-count=1 path/to/file
But, I'm getting different times on the CI vs locally.
locally the times are
1640113243
1664468001
but on the CI they are
1664476473
1664476473
They shouldn't be the same (the file was created months before the last modification) AND they need to match the local results
Any idea what I'm doing wrong or how to get this info in a way that the dates both locally and on the CI match?