Project

General

Profile

Bug #17198

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

Added by geophilus (Geophilus Durairaj) about 1 month ago. Updated 23 days ago.

Status:
Closed
Priority:
Normal
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) about 1 month 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.

#2

Updated by jeremyevans0 (Jeremy Evans) 23 days ago

  • Status changed from Open to Closed

Also available in: Atom PDF