Project

General

Profile

Actions

Bug #10887

closed

Time#zone encoding is ASCII-8BIT instead of intended US-ASCII

Added by Eregon (Benoit Daloze) about 9 years ago. Updated about 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
[ruby-core:68230]

Description

$ ruby -ve 'p Time.now.zone.encoding'
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
#<Encoding:ASCII-8BIT>

Per r46907 it was intended to be US-ASCII.

Already fixed by r49693, please backport to at least 2.2.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0