summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-13 14:19:31 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-13 14:20:42 +0900
commit4ffb0bd6414cf320ec8d71132bc487514768c8f7 (patch)
treea16ca5ec95d347bcc29a9b3e7b88fed4a318e763
parent2c0de392870232b56b28e14e8cbc6d993d8648ac (diff)
NEWS.md: Mention `in:` option of Time.new [Feature #17485]
-rw-r--r--NEWS.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 6185123af1..c92b31d190 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -254,6 +254,12 @@ Outstanding ones only.
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.
[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