bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH]: getdate.y: Allow usage of relative signed time offset even befo


From: Ondřej Vašík
Subject: [PATCH]: getdate.y: Allow usage of relative signed time offset even before time zone is specified.
Date: Wed, 23 Sep 2009 13:43:13 +0200

Hello,
as reported in
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/51106 ,
date sometimes produces different than expected output. I know it's
impossible to cover all possible date/time formats by grammar, but the
format "HH:MM + X minutes" looks quite common for me. I improved the
grammar of getdate.y to handle this situation - with side effect that
obscure date format "HH:MM +T day ago" won't work now (+T means timezone
here, +X means relative offset number). 
Note: "HH:MM +T yesterday" or "HH:MM +T +X days" works without troubles
even in new grammar.

Greetings,
         Ondřej Vašík

Attachment: getdate_5_timerelsignedoffset.patch
Description: Text Data

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy


reply via email to

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