ruby-changes:70177
From: Nobuyoshi <ko1@a...>
Date: Mon, 13 Dec 2021 14:21:23 +0900 (JST)
Subject: [ruby-changes:70177] 4ffb0bd641 (master): NEWS.md: Mention `in:` option of Time.new [Feature #17485]
https://git.ruby-lang.org/ruby.git/commit/?id=4ffb0bd641 From 4ffb0bd6414cf320ec8d71132bc487514768c8f7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 13 Dec 2021 14:19:31 +0900 Subject: NEWS.md: Mention `in:` option of Time.new [Feature #17485] --- NEWS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.md b/NEWS.md index 6185123af1d..c92b31d1901 100644 --- a/NEWS.md +++ b/NEWS.md @@ -254,6 +254,12 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L254 length set by `--backtrace-limit` command line option, is added. [[Feature #17479]] +* Time + + * Time.new now accepts optional `in:` keyword argument for the + timezone, as well as `Time.at` and `Time.now`, so that is now + you can omit minor arguments to `Time.new`. [[Feature #17485]] + * TracePoint * TracePoint.allow_reenter is added to allow reenter while TracePoint @@ -518,6 +524,7 @@ See [the repository](https://github.com/ruby/error_highlight) in detail. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L524 [Bug #17429]: https://bugs.ruby-lang.org/issues/17429 [Feature #17470]: https://bugs.ruby-lang.org/issues/17470 [Feature #17479]: https://bugs.ruby-lang.org/issues/17479 +[Feature #17485]: https://bugs.ruby-lang.org/issues/17485 [Feature #17490]: https://bugs.ruby-lang.org/issues/17490 [Feature #17592]: https://bugs.ruby-lang.org/issues/17592 [Feature #17684]: https://bugs.ruby-lang.org/issues/17684 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/