[ruby-cvs:73074] naruse:r65974 (trunk): Normalize month-mday before finding epoch

naruse at ruby-lang.org naruse at ruby-lang.org
Mon Nov 26 01:23:18 JST 2018


naruse	2018-11-26 01:23:18 +0900 (Mon, 26 Nov 2018)

  New Revision: 65974

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65974

  Log:
    Normalize month-mday before finding epoch
    
    Especially over the year 2038, 30 Feb and so on may cause odd behavior
    on validating found epoch with given year-month-day [Bug #15340]

  Modified files:
    trunk/test/ruby/test_time.rb
    trunk/time.c


More information about the ruby-cvs mailing list