mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
* fix for the WASI datetime to epoch conversion
This commit is contained in:
parent
a55980bfb8
commit
099a927331
@ -184,7 +184,7 @@ const
|
|||||||
days_in_month: array [boolean, 1..12] of Byte =
|
days_in_month: array [boolean, 1..12] of Byte =
|
||||||
((31,28,31,30,31,30,31,31,30,31,30,31),
|
((31,28,31,30,31,30,31,31,30,31,30,31),
|
||||||
(31,29,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,
|
||||||
0+31,
|
0+31,
|
||||||
0+31+28,
|
0+31+28,
|
||||||
|
@ -57,7 +57,7 @@ const
|
|||||||
days_in_month: array [boolean, 1..12] of Byte =
|
days_in_month: array [boolean, 1..12] of Byte =
|
||||||
((31,28,31,30,31,30,31,31,30,31,30,31),
|
((31,28,31,30,31,30,31,31,30,31,30,31),
|
||||||
(31,29,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,
|
||||||
0+31,
|
0+31,
|
||||||
0+31+28,
|
0+31+28,
|
||||||
|
Loading…
Reference in New Issue
Block a user