bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] lib/parse-datetime.y: Add ability to parse output of GNU date(1)


From: Chris Lamb
Subject: [PATCH] lib/parse-datetime.y: Add ability to parse output of GNU date(1)
Date: Mon, 02 Feb 2015 16:41:57 +0000

We are currently in a funny situation where GNU date can't parse its own
output:

  $ date --date="$(date)"
  date: invalid date ‘Mon  2 Feb 16:37:46 GMT 2015’

This is not aesthetically pleasing at the very least.

Signed-off-by: Chris Lamb <address@hidden>
---
 lib/parse-datetime.y | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)


-- 
Chris Lamb
@lolamby / chris-lamb.co.uk

Attachment: 0001-lib-parse-datetime.y-Add-ability-to-parse-output-of-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]