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: Pádraig Brady <P <at> draigBrady.com>
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 10:34:25 +0000
On 27/01/17 07:19, Rami Lehti wrote:
> Hi,
> 
> Currently 'date -Iweeks' does not display the ISO 8601 standard's week
> format. Neither does it support the ordinal format in that standard.
> Attached to this message you will find a patch for this issue. The patch
> has been made against latest git master branch. The patch itself is
> trivial.
> 
> Please consider applying it coreutils.

This looks useful thanks.

I'd probably present 'day of year' to the user in --help
rather than 'ordinal'.

I'll add a test and NEWS.

cheers,
Pádraig




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.