Actions
Bug #3670
closedDateTime#jisx0301 returns incorrect format for dates before the Meiji period
Description
=begin
For dates before the Meiji period, DateTime#jisx0301 returns the time part twice:
$ irb -r date
ruby-1.9.2-rc2 > DateTime.jd(2405161).jisx0301
=> "M06.01.02T00:00:00+00:00"
ruby-1.9.2-rc2 > DateTime.jd(2405159).jisx0301
=> "1872-12-31T00:00:00+00:00T00:00:00+00:00"
A patch to fix this is attached.
=end
Files
Updated by naruse (Yui NARUSE) over 14 years ago
- Category set to lib
- Assignee set to tadf (tadayoshi funaba)
- Priority changed from 3 to Normal
=begin
=end
Updated by naruse (Yui NARUSE) over 14 years ago
- Category set to lib
- Target version set to 1.9.3
=begin
=end
Actions
Like0
Like0Like0Like0Like0