[Bug 257075] touch(1) does not accept input from date(1) with -I to -d

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Mar 2023 12:14:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257075

Daniel Tameling <tamelingdaniel@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tamelingdaniel@gmail.com

--- Comment #2 from Daniel Tameling <tamelingdaniel@gmail.com> ---
I recently wanted to use touch -d with the Date string from Email headers and I
would also appreciate more flexibility. In the end I used GNU touch, which is
very liberal in what it accepts:

  The --date=STRING is a mostly free format human readable date string such as 
  "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29 16:21:42" or even "next 
  Thursday". A date string may contain items indicating calendar date, time of 
  day, time zone, day of week, relative time, relative date, and numbers. An 
  empty string indicates the beginning of the day. The date string format is
more 
  complex than is easily documented here but is fully described in the info 
  documentation.

I think matching that would be an overkill, but it would be nice to have more
options than currently supported.

-- 
You are receiving this mail because:
You are the assignee for the bug.