On 3/5/21 2:01 AM, 汪蒙蒙(木之) wrote:
# ./main -l "2022-11-01 00:00:00" -path "/usr/share/zoneinfo" -tz "America/Adak" UTC: 2022-11-01 09:00:00 +0000 UTC # ./main -l "2022-11-01 00:00:00" -path "/app/zoneinfo" -tz "America/Adak" UTC: 2022-11-01 10:00:00 +0000 UTC
What is the output of these shell commands? cmp /usr/share/zoneinfo/America/Adak /app/zoneinfo/America/Adak You seem to be indicating that these files are identical but I suspect they're not. If they're not identical, please send the output of these shell commands: od -t x1 /usr/share/zoneinfo/America/Adak od -t x1 /app/zoneinfo/America/Adak I'm reluctant to look at Docker images as they are complicated beasts. It would be better if you could isolate your problem to a short Go program that illustrates the issue.