3 ms·
By "works fine" you mean in your local environment or the go playground? Because it could potentially cause problems if the execution result varies from geogra
by paradite 11y ago
By "works fine" you mean in your local environment or the go playground?
Because it could potentially cause problems if the execution result varies from geographical locations and user's environment. I for one have no idea if my computer has a locale that includes PST timezone.
- nulltype 11y agoSorry I meant in my local environment. It's clear that the execution varies, as Parse(), unlike ParseInLocation() depends on the local environment, and play.golang.org probably uses some UTC locale.