mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Times and dates in the event log, fixing ltime() in the process.
[originally from svn r5250]
This commit is contained in:
@ -183,8 +183,8 @@ struct tm ltime(void)
|
||||
tm.tm_min=d.minute;
|
||||
tm.tm_hour=d.hour;
|
||||
tm.tm_mday=d.day;
|
||||
tm.tm_mon=d.month;
|
||||
tm.tm_year=d.year;
|
||||
tm.tm_mon=d.month-1;
|
||||
tm.tm_year=d.year-1900;
|
||||
tm.tm_wday=d.dayOfWeek;
|
||||
tm.tm_yday=1; /* GetTime doesn't tell us */
|
||||
tm.tm_isdst=0; /* Have to do DST ourselves */
|
||||
|
Reference in New Issue
Block a user