On 2008-12-31 19:13:22 +0100, Leonardo Boselli wrote: > tempo:~# touch -d 200812312359.60 3434 > touch: invalid date format `200812312359.60'
This form is not standard. Anyway the problem exists with standard forms: touch -d 2008-12-31T23:59:60 foo touch -t 200812312359.60 foo > so touch do not accept leap seconds. More generally, it doesn't accept SS = 60. Even if it doesn't correspond to a leap second, POSIX requires this value to be accepted: The range for SS is [00,60] rather than [00,59] because of leap seconds. If SS is 60, and the resulting time, as affected by the TZ environment variable, does not refer to a leap second, the resulting time shall be one second after a time where SS is 59. So, when the bug is fixed, it should be made sure not to have exceptions for leap seconds (e.g. 200812170102.60 is valid too). That said, happy new year! -- Vincent Lefèvre <vinc...@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org