[Bug 879402] New: date format of atq is unusable for sorting
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c0 Summary: date format of atq is unusable for sorting Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: martin@oneiros.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 The atq in 13.1 uses a date/time format that is unsuitable for sorting by date/time and there is no way to set the date format used (e.g. to ISO8601). Reproducible: Always Steps to Reproduce: 1. Set up some jobs with at 2. Run atq Actual Results:
atq 1377 Thu May 29 15:04:00 2014 a ms 1387 Thu May 22 21:59:00 2014 a ms 1376 Thu May 29 18:39:00 2014 a ms 1372 Wed May 28 21:32:00 2014 a ms 1 Fri May 23 21:04:00 2014 a ms 1361 Sun May 25 08:04:00 2014 a ms 1373 Thu May 29 09:29:00 2014 a ms 1367 Tue May 27 20:02:00 2014 a ms 4 Fri May 23 22:03:00 2014 a ms 1369 Wed May 28 21:04:00 2014 a ms 7 Sat May 24 19:04:00 2014 a ms 10 Sat May 24 23:03:00 2014 a ms
Expected Results: The date format should be ISO 8601 - or there should be a switch to set the date format used. The atq up to 12.3 used ISO 8601, so this is a regression. See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612075 -- 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=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c1
--- Comment #1 from Martin Schröder
rpm -qi at Name : at Version : 3.1.13 Release : 5.4.1 Architecture: x86_64 Install Date: Mi 21 Mai 2014 15:38:28 CEST Group : System/Daemons Size : 115052 License : GPL-2.0+ Signature : RSA/SHA256, Mo 25 Nov 2013 10:44:52 CET, Key ID b88b2fd43dbdc284 Source RPM : at-3.1.13-5.4.1.src.rpm Build Date : Mi 13 Nov 2013 11:12:54 CET Build Host : cloud125 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : ftp://ftp.debian.org/debian/pool/main/a/at Summary : A Job Manager Description : This program allows you to run jobs at specified times. Distribution: openSUSE 13.1
-- 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=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c
zhang jiajun
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c2
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c3
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c4
Martin Schröder
Test like this: $ atq -o '%Y-%m-%d %T'
Is that what you expect?
Yes! Needs documentation, though.
Feel free to propose better switch :).
Switch the default format back to ISO (as mentioned in comment 1 the current change is a regression) and you won't need a switch. :-) -- 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=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c5
Petr Gajdos
(In reply to comment #3)
Test like this: $ atq -o '%Y-%m-%d %T'
Is that what you expect?
Yes! Needs documentation, though.
It is documented in the man page and in the --help text.
Feel free to propose better switch :).
Switch the default format back to ISO (as mentioned in comment 1 the current change is a regression) and you won't need a switch. :-)
No for 13.1 at least because some tools can rely on the new format. You can discuss with upstream to change the default, I will happy to apply upstream patch for factory. Maintenance, can we do an update for 13.1? -- 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=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c6
--- Comment #6 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c7
Matthias Grießmeier
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c8
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c9
--- Comment #9 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c10
--- Comment #10 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=879402
https://bugzilla.novell.com/show_bug.cgi?id=879402#c11
--- Comment #11 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=879402
http://bugzilla.novell.com/show_bug.cgi?id=879402#c12
Martin Schröder
participants (1)
-
bugzilla_noreply@novell.com