Seconds or Milliseconds? A Guide to Parsing Ambiguous Unix Timestamps
One day at work, I was writing a Go program to parse Unix timestamps from a web API response. I wrote my parsing logic, but during testing, I discovered a frustrating inconsistency: the API sometimes returned timestamps in seconds, and other times in...
dougtake.hashnode.dev4 min read