[ruby-core:62436] [ruby-trunk - Bug #9809] Date.new(2000, 1, 1).cweek should == 1

From: nobu@...
Date: 2014-05-07 00:19:03 UTC
List: ruby-core #62436
Issue #9809 has been updated by Nobuyoshi Nakada.

Duplicates Bug #9372: Date function cweek reports innaccurately for the date December 30, 2013 added

----------------------------------------
Bug #9809: Date.new(2000,1,1).cweek should == 1
https://bugs.ruby-lang.org/issues/9809#change-46583

* Author: Ben Zhu
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: core
* Target version: 
* ruby -v: 2.1.1
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I run `Date.new(2000,1,1).cweek`, the result is 52.

My Ruby version is 2.1.1



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next