GNU bug report logs - #25554
date: add iso-8601 week-format option

Previous Next

Package: coreutils;

Reported by: Rami Lehti <rami.lehti <at> bitwise.fi>

Date: Fri, 27 Jan 2017 07:25:02 UTC

Severity: wishlist

Tags: patch, wontfix

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Rami Lehti <rami.lehti <at> bitwise.fi>, 25554 <at> debbugs.gnu.org
Subject: bug#25554: date to support iso-8601 week-format (patch included)
Date: Fri, 27 Jan 2017 14:22:16 -0800
I dunno, there are several ISO 8601 formats that 'date -I' doesn't have a 
special case for now; why add these particular shorthands? If we go down this 
route, shouldn't we also add shorthands for %Y%j, %GW%V, %G-W%V-%u, etc., etc.? 
Where will it stop?

Instead, perhaps we should just suggest to people that they use ordinary date 
formats, as standardized by POSIX. These should be more portable anyway. -I is 
meant as a convenience for interactive use, and I doubt whether people would 
want to use "date -Iweek" interactively much.




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

Previous Next


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