Retrieving timezone offset of Asia/Tokyo fails

Issue #150 resolved
Takashi Kato repo owner created an issue

This raises an error.

(import (sagittarius timezone))
(timezone-offset (timezone "Asia/Tokyo"))

Comments (2)

  1. Takashi Kato reporter

    This is rather but on TZ database. The rule "Japan" contains 4 rules but none of them indicates later than 1951. So find-rule can't find a rule of current time. Not sure if there's other timezone which has the same situation so might be safer to return default rule instead of raising an error when there's no rule found.

  2. Log in to comment