exercism / exercism/common-lisp

gigasecond-anniversary: solving in web editor and time zone

Open
#691 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Common Lisp
Stars
91
Forks
85
Avg merge
2d 11h
Merged PRs (30d)
2

Description

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...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.