Skip to content

Commit 73d191f

Browse files
committed
the params for initDateTime aren't in the same order
1 parent 11f4bcf commit 73d191f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uing.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3292,9 +3292,9 @@ proc time*(d: DateTimePicker): DateTime =
32923292
# dateTime was introduced in Nim version 1.6.0
32933293
when NimMinor < 6:
32943294
result = initDateTime(
3295-
int tm.tm_year + 1900,
3296-
Month(tm.tm_mon + 1),
32973295
int tm.tm_mday,
3296+
Month(tm.tm_mon + 1),
3297+
int tm.tm_year + 1900,
32983298
int tm.tm_hour,
32993299
int tm.tm_min,
33003300
int tm.tm_sec

0 commit comments

Comments
 (0)