GNU bug report logs - #21603
touch silently ignores '-d 2014'

Previous Next

Package: coreutils;

Reported by: George Shuklin <george.shuklin <at> gmail.com>

Date: Fri, 2 Oct 2015 14:31:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21603 in the body.
You can then email your comments to 21603 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#21603; Package coreutils. (Fri, 02 Oct 2015 14:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to George Shuklin <george.shuklin <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 02 Oct 2015 14:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: George Shuklin <george.shuklin <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: touch silently ignores '-d 2014'
Date: Fri, 2 Oct 2015 17:30:35 +0300
Hello.

Strange behaviour:

touch -d 2014 /tmp/new_file

is not changing date for the file. All other formats (f.e. -d 
2014-01-01) work fine.

Version info:
ii  coreutils                           8.21-1ubuntu5.1




Information forwarded to bug-coreutils <at> gnu.org:
bug#21603; Package coreutils. (Fri, 02 Oct 2015 16:13:01 GMT) Full text and rfc822 format available.

Message #8 received at 21603 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: George Shuklin <george.shuklin <at> gmail.com>, 21603 <at> debbugs.gnu.org
Subject: Re: bug#21603: touch silently ignores '-d 2014'
Date: Fri, 2 Oct 2015 17:12:51 +0100
tag 21603 notabug
close 21603
stop

On 02/10/15 15:30, George Shuklin wrote:
> Hello.
> 
> Strange behaviour:
> 
> touch -d 2014 /tmp/new_file
> 
> is not changing date for the file. All other formats (f.e. -d 
> 2014-01-01) work fine.

Well it's not ignoring it.
It's interpreting as a time 20:14
Date input formats are ambiguous.

thanks,
Pádraig.





Information forwarded to bug-coreutils <at> gnu.org:
bug#21603; Package coreutils. (Fri, 02 Oct 2015 17:15:02 GMT) Full text and rfc822 format available.

Message #11 received at 21603 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: George Shuklin <george.shuklin <at> gmail.com>
Cc: 21603 <at> debbugs.gnu.org
Subject: Re: bug#21603: touch silently ignores '-d 2014'
Date: Fri, 02 Oct 2015 19:13:58 +0200
George Shuklin <george.shuklin <at> gmail.com> writes:

> touch -d 2014 /tmp/new_file
>
> is not changing date for the file. All other formats (f.e. -d 
> 2014-01-01) work fine.

Try date -d 2014 to see what it gets.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Added tag(s) notabug. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 24 Oct 2018 21:14:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 21603 <at> debbugs.gnu.org and George Shuklin <george.shuklin <at> gmail.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 24 Oct 2018 21:14:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 22 Nov 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.