wow, I've just figured it out.
Sorry for the buzz, it's due my timezone. On that day, BRT have a daylight
savings change and the time between midnight and 1am is invalid.

On Wed, Nov 14, 2012 at 11:51 AM, Rafael Xavier <[email protected]> wrote:

> A gnulib posixtime bug?
>
>
> On Wed, Nov 14, 2012 at 11:48 AM, Rafael Xavier <[email protected]>wrote:
>
>> The interesting thing is that the below "workaround" works:
>>
>> $ touch -t 10212359.60 'photo.jpg'
>>
>> $ ls -l 'photo.jpg'
>> -rw-r--r-- 1 xavier xavier 146604 2012-10-22 00:00 photo.jpg
>>
>> holy cow
>>
>>
>> On Wed, Nov 14, 2012 at 11:43 AM, Rafael Xavier <[email protected]>wrote:
>>
>>> Hello all,
>>>
>>> Am I missing something? But, I am unable to set the timestamp of a file
>>> to 00h.
>>>
>>> $ touch -t 10202359 'photo.jpg'
>>> # works
>>>
>>> $ touch -t 10210000 'photo.jpg'
>>> touch: invalid date format `10210000'
>>>
>>> $ touch --version
>>> touch (GNU coreutils) 8.5
>>>
>>> Thanks in advance for any help.
>>>
>>> --
>>> <http://www.rafael.xavier.blog.br/>+55 (16) 8138-1583, skype: rxaviers
>>> http://rafael.xavier.blog.br
>>>
>>
>>
>>
>> --
>> <http://www.rafael.xavier.blog.br/>+55 (16) 8138-1583, skype: rxaviers
>> http://rafael.xavier.blog.br
>>
>
>
>
> --
> <http://www.rafael.xavier.blog.br/>+55 (16) 8138-1583, skype: rxaviers
> http://rafael.xavier.blog.br
>



-- 
<http://www.rafael.xavier.blog.br/>+55 (16) 8138-1583, skype: rxaviers
http://rafael.xavier.blog.br

Reply via email to