* fix for the WASI datetime to epoch conversion

This commit is contained in:
Nikolay Nikolov 2021-10-12 11:27:27 +03:00
parent a55980bfb8
commit 099a927331
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ const
days_in_month: array [boolean, 1..12] of Byte =
((31,28,31,30,31,30,31,31,30,31,30,31),
(31,29,31,30,31,30,31,31,30,31,30,31));
days_before_month: array [boolean, 1..12] of Byte =
days_before_month: array [boolean, 1..12] of Word =
((0,
0+31,
0+31+28,

View File

@ -57,7 +57,7 @@ const
days_in_month: array [boolean, 1..12] of Byte =
((31,28,31,30,31,30,31,31,30,31,30,31),
(31,29,31,30,31,30,31,31,30,31,30,31));
days_before_month: array [boolean, 1..12] of Byte =
days_before_month: array [boolean, 1..12] of Word =
((0,
0+31,
0+31+28,