bugGNU Core Utilities - Bugs: bug #21455, date --date ""...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21455: date --date "" "+test" fails ONLY WITHIN CERTAIN TIME PERIOD #$%^%

Submitted by:  Mischa Molhoek <mischamolhoek>
Submitted on:  Mon 29 Oct 2007 09:24:43 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 10 Dec 2007 07:41:48 AM UTC, comment #2:

This is fixed in coreutils-6.9.90.

Jim Meyering <meyering>
Project Administrator
Mon 29 Oct 2007 11:09:21 AM UTC, comment #1:

ok, here is the text version, because the image is remove by accident :)

[titan: mischa] ~> date --version
date (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.
[titan: mischa] ~> date --date "" "+test"
test

[titan: mischa] ~> sudo date -s "Sun Oct 28 22:00:53 CET 2007"
Sun Oct 28 22:00:53 CET 2007

[titan: mischa] ~> date --date "" "+test"
date: invalid date `'

[titan: mischa] ~> sudo rdate -s ntp.xs4all.nl

[titan: mischa] ~> date
Mon Oct 29 12:08:41 CET 2007

[titan: mischa] ~> date --date "" "+test"
test

Mischa Molhoek <mischamolhoek>
Mon 29 Oct 2007 09:24:43 AM UTC, original submission:

this is a strange bug i tell you.

see the attached image to see whats happening...

i am running ubuntu gutsy, (2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux) (GNU coreutils) 5.97)

but it also happens on gentoo (latest) (gnu core utils 6.9)

have fun figuring this one out :)

Mischa Molhoek <mischamolhoek>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meyering (Posted a comment)
  • -unavailable- added by mischamolhoek (Submitted the item)
  • -unavailable- added by mischamolhoek (date bug)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 Dec 2007 07:41:48 AM UTCmeyeringStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 29 Oct 2007 10:16:45 AM UTCrwpAttached File#14243=>Removed
    Mon 29 Oct 2007 09:24:43 AM UTCmischamolhoekAttached File-=>Added date_error.png, #14243
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1