mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-11 03:45:33 +00:00
Estimated hours taken: 0.5
Branches: main, release
library/time.m:
Fix a bug: type `tm' didn't contain a member to store the
day of the month, so functions which used that member, for
example time__mktime, would not work.
Remove some code duplication in the handling of daylight
saving time.
Add field names to type `tm'.
NEWS:
Document the changes to time.m.
tests/hard_coded/Mmakefile:
tests/hard_coded/time_test.{m,exp}:
Some basic tests of the time module.
4 lines
43 B
Plaintext
4 lines
43 B
Plaintext
mktime succeeded
|
|
Sun Jan 7 03:02:01 2001
|
|
|