Project

General

Profile

Actions

Bug #17198

closed

DateTime.parse with CAT timezone converts to -10:00 instead of +02:00

Added by geophilus (Geophilus Durairaj) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:100199]

Description

DateTime.parse with CAT timezone is incorrect

require 'date'
DateTime.parse("10:00AM CAT").zone

Expected: +02:00
Actual: -10:00

Reference: https://www.timeanddate.com/time/zones/cat

Updated by jeremyevans0 (Jeremy Evans) over 3 years ago

You filed a pull request to change this in the date library: https://github.com/ruby/date/pull/25. In general, for default gems, you should only file the issues/pull requests in their GitHub repository, you don't need to also create a Redmine ticket for them.

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 3 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0