Groups
Groups
Sign in
Groups
Groups
ruby-cvs
Conversations
About
Send feedback
Help
b95de2b9a4 (master): [ruby/date] Preserve input encoding when parsing time zones
0 views
Skip to first unread message
Nobuyoshi Nakada
unread,
Aug 28, 2026, 11:59:05 AM (10 days ago)
Aug 28
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby...@g.ruby-lang.org
Nobuyoshi Nakada 2026-08-28 13:32:42 +0000 (Fri, 28 Aug 2026)
New Revision: b95de2b9a4
https://github.com/ruby/ruby/commit/b95de2b9a4
Log:
[ruby/date] Preserve input encoding when parsing time zones
Pass the input encoding through `date__strptime` so non-ASCII trailing
data is treated as a parse failure instead of raising an encoding error.
Fixes
https://github.com/ruby/date/pull/179
.
https://github.com/ruby/date/commit/edf7cf016c
Modified files:
ext/date/date_core.c
ext/date/date_strptime.c
test/date/test_date_strptime.rb
Reply all
Reply to author
Forward
0 new messages