Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Ignore timezone when adjusting by units smaller than a day.
Undo scientific time toggle that enables the same, but manually. Fix issue #8. Scientific time has a well defined unit, viz. a second, and a timezone with constant day length, viz. UTC. Duration of a second, and also of a minute and an hour, is independent of the timezone. So adjusting by these units always gives a “scientific” result; and if one wants to adjust by larger units, treating them as constant in a timezone where they are not constant, they should either switch to UTC, or convert the adjustement to constant units (e.g. add 24 hours to adjust by one astronomical day).
- Loading branch information
Showing
5 changed files
with
29 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters