Andreas Schwab wrote:
> Jim Meyering <[email protected]> writes:
>
>> To get the behavior you want (a nominally no-op date-setting command),
>> you should use this instead:
>>
>>     date -s "$(date '+%F %T.%N')"
>
> That fails to be a no-op during the ambigous end-of-dst period.  Better
> use an unambigous format.
>
> # date -s @$(date +%s.%N)

Yep.  That is both shorter *and* better :-)
Thanks.



Reply via email to