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