Skip to content

Commit

Permalink
noticed these are passing now. progress!
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacronemeyer committed Aug 12, 2023
1 parent 6dfacf5 commit f539048
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions test/date_strptime_scenarios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,24 +114,21 @@ def test_strptime_converts_back_and_forth_between_date_and_string_for_many_forma
[
'%Y %m %d',
'%C %y %m %d',

'%Y %j',
'%C %y %j',

'%G %V %w',
'%G %V %u',
'%C %g %V %w',
'%C %g %V %u',
'%Y %W %w',
'%Y %W %u',
'%C %y %W %w',
'%C %y %W %u',
#TODO Support these formats
# '%G %V %w',
# '%G %V %u',
# '%C %g %V %w',
# '%C %g %V %u',

# '%Y %U %w',
# '%Y %U %u',
# '%Y %W %w',
# '%Y %W %u',
# '%C %y %U %w',
# '%C %y %U %u',
# '%C %y %W %w',
# '%C %y %W %u',
].each do |fmt|
s = d.strftime(fmt)
d2 = Date.strptime(s, fmt)
Expand Down

0 comments on commit f539048

Please sign in to comment.