[Bug 641996] New: date --date="`date '+%s'`" '+%s'
https://bugzilla.novell.com/show_bug.cgi?id=641996 https://bugzilla.novell.com/show_bug.cgi?id=641996#c0 Summary: date --date="`date '+%s'`" '+%s' Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: All OS/Version: All Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rob.fortune@live.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.8 SUSE/7.0.528.0 (KHTML, like Gecko) Chrome/7.0.528.0 Safari/534.8 The summary says it all. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641996 https://bugzilla.novell.com/show_bug.cgi?id=641996#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |pth@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641996 https://bugzilla.novell.com/show_bug.cgi?id=641996#c1 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |rob.fortune@live.com --- Comment #1 from Philipp Thomas <pth@novell.com> 2010-10-11 13:08:49 CEST --- If you want this recognized as a bug and thus fixed, please be more verbose. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641996 https://bugzilla.novell.com/show_bug.cgi?id=641996#c2 --- Comment #2 from Rob Fortune <rob.fortune@live.com> 2010-10-11 15:10:06 UTC --- OK, the above command results as "invalid date". It makes no sense to interpret large integers as "invalid date", simple heuristics suggest it would be a Unix timestamp although it's impossible to specify this explicitly due to the design of date program. It would be useful to be able to give unix timestamps to date from shell scripts rather than having to fiddle around with div and mod. "It's probably a unix timestamp" is a more rational response from the program than "invalid date" which is useless, being unable to read dates it generates itself is something of a failure. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641996 https://bugzilla.novell.com/show_bug.cgi?id=641996#c3 Rob Fortune <rob.fortune@live.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Minor |Enhancement --- Comment #3 from Rob Fortune <rob.fortune@live.com> 2010-10-11 15:14:58 UTC --- It appears it treats all integers between 1 and 23 as number an hour (functionality which obviously must be preserved) and 24 or higher, or negative integers are "invalid date". That's a lot of wasted useful functionality which could be had from the program. I'm not really concerned if it's changed or not, but it seems faulty that date cannot understand dates it comes up with itself. Anyway, I'm going to change it to "Enhancement" since it doesn't say it will do this and also have no object to it being closed without any changes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641996 https://bugzilla.novell.com/show_bug.cgi?id=641996#c4 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEEDINFO |RESOLVED InfoProvider|rob.fortune@live.com | Resolution| |UPSTREAM --- Comment #4 from Philipp Thomas <pth@novell.com> 2010-10-11 18:36:22 CEST --- OK, now I understand. Please report this upstreams to the coreutils developers with a mail to bug-coreutils@gnu.org as these are the ones that should fix this. Please read the paragraph about bug reporting at http://www.gnu.org/software/coreutils/. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com