mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
Change the io.print family of predicates to print out the formatted version of
dates and durations rather than their underlying representation.
library/io.m:
library/stream.string_writer.m:
As above.
Avoid a change of tense in the middle of the descriptive comment
for {io,stream.string_writer}.print.
tests/hard_coded/Mmakefile:
tests/hard_coded/print_date.{m,exp}:
Add a test for the above.
3 lines
30 B
Plaintext
3 lines
30 B
Plaintext
2014-12-19 16:05:00
|
|
P5DT7H55M
|