Maximiliano Curia wrote: > Package: apt > Version: 0.7.16+b1 > Severity: minor > > Hi, > > etc/cron.daily/apt uses: > date --date=$(date --iso-8601) %s > which fails for dates where the daylight saving occour, as the 00:00:00 for > that date doesn't exists. For example: > Argentina/Buenos_Aires changed its time the 2008-10-19 from 00:00:00 ART to > 01:00:00 ARST so, issuing: > TZ=America/Argentina/Buenos_Aires date --date="2008-10-19" gives an error: > date: invalid date «2008-10-19» > > Which is correct, as there was no "2008-10-19 0:00:00" ART or ARST > > A simple solution could be to add export TZ=UTC at the begining of the file. Thanks for report. I think it can be fixed in this way (after Lenny due to freeze). -- Eugene V. Lyubimkin aka JackYF
Attachment:
signature.asc
Description: OpenPGP digital signature