summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-08 02:35:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-08 02:35:31 +0000
commitee58c638b8d10d2ea10faadbc7b34515d2f2e351 (patch)
tree7716f26c1b8415e0e639bf093e339cdabb13c5aa /NEWS
parente0bc5e49ffc1a013705e1e287967139425912974 (diff)
Timezone support by Time [Feature #14850]
* strftime.c (rb_strftime): support timezone object by `%z`. * time.c (time_init_1, time_new_timew, time_getlocaltime): accept timezone object as `off`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b24f694993..92eed9798c 100644
--- a/NEWS
+++ b/NEWS
@@ -258,6 +258,13 @@ sufficient information, see the ChangeLog file or Redmine
* `Struct#filter` is a new alias for `Struct#select` [Feature #13784]
+* `Time`
+
+ * New features:
+
+ * `Time.new` and `Time#getlocal` accept a timezone object as
+ well as UTC offset string. [Feature #14850]
+
* `TracePoint`
* New methods: