--- Begin Message ---
Subject: |
[bugs #11687] GNU date doesn't discriminate between + and - in relative dates. |
Date: |
Fri, 21 Jan 2005 19:22:36 +0000 |
This is an automated notification sent by Savannah.
It relates to:
bugs #11687, project GNU Core Utilities
==============================================================================
OVERVIEW of bugs #11687:
==============================================================================
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11687>
Summary: GNU date doesn't discriminate between + and - in
relative dates.
Project: GNU Core Utilities
Submitted by: ingvar
Submitted on: Fri 01/21/2005 at 19:22
Category: None
Severity: 5 - Average
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
GNU date doesn't discriminate between + and - in relative dates. This may
well affect all GNU coreutils using the same date parsing library.
Example:
head$ date --version
date (coreutils) 5.2.1
Written by David MacKenzie.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
head$ date
Fri Jan 7 07:10:43 GMT 2005
head$ date -d "1715 - 15 minutes"
Fri Jan 7 17:30:00 GMT 2005
head$ date -d "1715 + 15 minutes"
Fri Jan 7 17:30:00 GMT 2005
head$ date -d "1715 + 15 minutes ago"
Fri Jan 7 17:00:00 GMT 2005
head$ date -d "1715 - 15 minutes ago"
Fri Jan 7 17:00:00 GMT 2005
head$ date -d "- 1 month"
Mon Feb 7 07:10:36 GMT 2005
[ NB, this bug was delayed, due to a submission to the Debian bug tracking
system,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289103
]
==============================================================================
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11687>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
--- End Message ---