extraneous zeros causes Time.parse to revert to Daylight time

Bug #482781 reported by teledyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby1.8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ruby1.8

irb(main):002:0> require 'parsedate'
=> true
irb(main):003:0> require 'time'
=> true
irb(main):004:0> @since = Time.parse("20091114T142230000-0400")
=> Sat Nov 14 14:22:30 -0500 2009
irb(main):005:0> @since = Time.parse("20091114T142230-0400")
=> Sat Nov 14 13:22:30 -0500 2009

ProblemType: Bug
Architecture: i386
Date: Sat Nov 14 14:52:21 2009
DistroRelease: Ubuntu 8.04
Package: ruby1.8 1.8.6.111-2ubuntu1.2
PackageArchitecture: i386
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
SourcePackage: ruby1.8
Uname: Linux 2.6.24-19-server i686

Tags: apport-bug
Revision history for this message
teledyn (garym-teledyn) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Please reply if this is still an issue on a supported release.

Changed in ruby1.8 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.