Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gigasecond-anniversary: solving in web editor and time zone #691

Open
glennj opened this issue Nov 28, 2022 · 1 comment
Open

gigasecond-anniversary: solving in web editor and time zone #691

glennj opened this issue Nov 28, 2022 · 1 comment

Comments

@glennj
Copy link
Contributor

glennj commented Nov 28, 2022

It seems like the test runner uses UTC as the system time zone.

I first solved this online without providing the time-zone argument for either encode-universal-time or decode-universal-time.

Then I downloaded locally and was surprised by the test failures. I learned about the importance of the time-zone arguments and updated my solution.

I suppose there are consequences to setting the system timezone of the test runner's Docker container to a non-UTC timezone (perhaps reporting, ...). Would it be possible for the test-runner to detect the slug represents a "date-time" exercise and set the TZ env var to something else?

This is probably more of a common-lisp-test-runner issue I suppose...

@verdammelt
Copy link
Member

Oh that's fascinating. And by 'fascinating' I mean very very annoying :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants