Skip to content

Commit

Permalink
fix DateTime#jisx0301, it was calling DateTime#iso8601 which is not D…
Browse files Browse the repository at this point in the history
…ate#iso8601
  • Loading branch information
eregon committed Sep 20, 2013
1 parent f3e9373 commit 86d2b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby/1.9/date/format.rb
Expand Up @@ -159,7 +159,7 @@ def httpdate() new_offset(0).strftime('%a, %d %b %Y %T GMT') end # :nodoc:

def jisx0301
if jd < 2405160
iso8601
strftime('%F')
else
case jd
when 2405160...2419614
Expand Down

0 comments on commit 86d2b2e

Please sign in to comment.