diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-08 02:35:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-08 02:35:31 +0000 |
commit | ee58c638b8d10d2ea10faadbc7b34515d2f2e351 (patch) | |
tree | 7716f26c1b8415e0e639bf093e339cdabb13c5aa /NEWS | |
parent | e0bc5e49ffc1a013705e1e287967139425912974 (diff) | |
download | ruby-ee58c638b8d10d2ea10faadbc7b34515d2f2e351.tar.gz |
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-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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: |