Project

General

Profile

Actions

Bug #1920

closed

Date parse %U & %W

Added by delagoya (Angel Pizarro) over 14 years ago. Updated about 13 years ago.

Status:
Rejected
Assignee:
-
ruby -v:
1.8.6p287, 1.9.1p129
[ruby-core:24851]

Description

=begin
Round trip errors for edge case dates:

Jan 01 2008

Date.strptime(Date.parse("Jan 01, 2008").strftime("%Y%U") , "%Y%U")
ArgumentError: invalid date

Dec 31, 2008

Date.strptime(Date.parse("Dec 31, 2008").strftime("%Y%W") , "%Y%W")
ArgumentError: invalid date
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0