Tests: Times: JS: Local timezone assignment during Time to TimeInfo conversion.
This commit is contained in:
parent
6a583b6d2f
commit
cc9d282348
1 changed files with 4 additions and 0 deletions
|
|
@ -11,3 +11,7 @@ import times
|
|||
block yeardayTest:
|
||||
# check if yearday attribute is properly set on TimeInfo creation
|
||||
doAssert fromSeconds(2147483647).getGMTime().yearday == 18
|
||||
|
||||
block timezoneTest:
|
||||
# check if timezone is properly set durint Time to TimeInfo conversion
|
||||
doAssert fromSeconds(2147483647).getLocalTime().timezone == getTimezone()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue