|
From: | Eric Blake |
Subject: | date -d '...' should support superset of POSIX 'at' dates |
Date: | Mon, 20 Jan 2020 10:23:14 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 |
But that would imply that we want gnulib's date parser to be a superset of the grammar required by 'at'. We are already most of the way there; required support dates such as '2pm + 1 week', '2pm next week', and 'tomorrow' work; but we are lacking at least 'midnight'. Thus, I'm opening this bug to remind us to add the remaining few items to our date grammar, so that we can parse everything 'at' is required to support, and in case POSIX does decide to standardize -d using the 'at' grammar as a starting point.
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |