]> diplodocus.org Git - nmh/commit
datetime.c: Fix parse-failure's error-message's daylight indication.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 9 Sep 2017 11:05:22 +0000 (12:05 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 9 Sep 2017 11:28:36 +0000 (12:28 +0100)
commit97ed1473582676df043c03adc11997341ce391dd
tree00d37d58cff9a10a0b28f7d7a40a9b0b6026a9c4
parentf0ac374d1388505a6c9d3af6424cc504f5a2b8af
datetime.c: Fix parse-failure's error-message's daylight indication.

`in_standard' was being used to decide between `standard' and `daylight'
in the error message, but it would always be false by that point.
`in_daylight' is what's passed to the parsing function so use that to
determine the string instead.  Bug present since the initial
implementation.
sbr/datetime.c