Skip to content

Commit

Permalink
Fix DST handling in clif_attendance_getendtime()
Browse files Browse the repository at this point in the history
Signed-off-by: Haru <[email protected]>
  • Loading branch information
MishimaHaruna committed Aug 12, 2023
1 parent 60c315c commit 87be781
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/map/clif.c
Original file line number Diff line number Diff line change
Expand Up @@ -23905,6 +23905,7 @@ static time_t clif_attendance_getendtime(void)
tmtime.tm_year = year - 1900;
tmtime.tm_mon = month - 1;
tmtime.tm_mday = day;
tmtime.tm_isdst = -1;

timestamp = mktime(&tmtime);

Expand Down

0 comments on commit 87be781

Please sign in to comment.