Estimated hours taken: 3
Branches: main
Revised the test cases for the time library.
tests/time_test.m:
mktime(localtime(Time)) is now considered to be close enough to the
original Time if it is less than 1 second earlier.
tests/dst_test.m:
Tests daylight savings time is implemented correctly.
Also tests localtime vs gmtime on the changeover dates.
tests/dst_test.exp:
corresponding expected output.
tests/Mmakefile:
Added dst_test to the list.
Added rule for dst_test, which sets the TZ environmental variable
to 'Australia/Melbourne' before running the test.