Skip to content

Commit

Permalink
Merge pull request #488 from headius/bad_datetime_parse_keyword
Browse files Browse the repository at this point in the history
Remove unknown keyword arg from DateTime.parse
  • Loading branch information
hsbt committed Dec 2, 2021
2 parents 2db5894 + b1007df commit 431317d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/json_addition_test.rb
Expand Up @@ -165,7 +165,7 @@ def test_core

def test_utc_datetime
now = Time.now
d = DateTime.parse(now.to_s, :create_additions => true) # usual case
d = DateTime.parse(now.to_s) # usual case
assert_equal d, parse(d.to_json, :create_additions => true)
d = DateTime.parse(now.utc.to_s) # of = 0
assert_equal d, parse(d.to_json, :create_additions => true)
Expand Down

0 comments on commit 431317d

Please sign in to comment.