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

Actions

Also available in: Atom PDF

Like0
Like0Like0