You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same build running on three OSs: two windows11, one windows10.
On the box where I built the executable everything seems ok.
On the other two I get
"mlr: TZ environment variable appears malformed: "America/New_York"
(The TZ env variable is set the same on all three boxen)
I am at a loss to understand this behavior. It seems wrong, but regardless, why do I get different behavior from the same executable with the same TZ ?
Rob Stevens
The text was updated successfully, but these errors were encountered:
I have my own followup.
The go documentation (version 1.15) talks about adding this line:
import _ "time/tzdata"
to the go code which supposedly includes the timezone database into the code. I don't know where in the miller code that would go.
As far as I can see, the two boxes which display this error have the tzdata package (from cygwin) included, as does the third where I do not see this error. The third cygwin install, where I do not see the error, has many many more packages installed than the other two.
I have also found that mlr on macos 13.7.4 also displays this eror when the TZ env variable is explicitly set (it normally is not explicitly set in my environment)
My conclusion is that some package or other installs a comprehensive timezone database, but I don't know which cygwin package that would be.
Any thoughts?
johnkerl
changed the title
Mlr complaining about malformed timezone
Miller complaining about malformed timezone
Feb 24, 2025
I am running mlr-6.13.0-dev built on windows11
I have the same build running on three OSs: two windows11, one windows10.
On the box where I built the executable everything seems ok.
On the other two I get
"mlr: TZ environment variable appears malformed: "America/New_York"
(The TZ env variable is set the same on all three boxen)
I am at a loss to understand this behavior. It seems wrong, but regardless, why do I get different behavior from the same executable with the same TZ ?
Rob Stevens
The text was updated successfully, but these errors were encountered: