Branch: Tag:

2017-02-01

2017-02-01 21:01:59 by Martin Nilsson <nilsson@fastmail.com>

The range for tm struct mday is 1..31, so initialize to 1, not 0.

566:    {    memset( &THIS->t, 0, sizeof( struct tm ) );    THIS->t.tm_isdst = -1; +  THIS->t.tm_mday = 1;    THIS->unix_time = 0;    THIS->modified = 1;    }