Package: libchronic-ruby
Version: 0.2.3-1
Severity: important
*** Please type your report below this line ***
The following program
#!/usr/bin/ruby
require 'chronic'
z = 'february 14, 2004'
dtobj = Chronic.parse(z)
print "#{dtobj.class}\n"
z = 'today'
dtobj = Chronic.parse(z)
print "#{dtobj.class}\n"
returns
NilClass
Time
suggesting that chronic cannot parse 'february 14, 2004'.
installed are:
ii libruby1.8 1.8.7.249-2 Libraries necessary to run Ruby 1.8
ii ruby1.8 1.8.7.249-2 Interpreter of object-oriented scripting lan
-- System Information:
Debian Release: lenny/sid
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages libchronic-ruby depends on:
ii ruby 4.2 An interpreter of object-oriented
libchronic-ruby recommends no packages.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]