File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ set_option linter.all true
1717namespace PlainDateTime
1818
1919/--
20- Get the current time, in the current timezone.
20+ Get the current time, in the local timezone.
21+ To obtain the current time in a specific timezone, use `DateTime.now` or `ZonedDateTime.nowAt`.
2122-/
2223@[inline]
2324def now : IO PlainDateTime := do
@@ -32,7 +33,7 @@ end PlainDateTime
3233namespace PlainDate
3334
3435/--
35- Get the current date, in the current timezone.
36+ Get the current date, in the local timezone.
3637-/
3738@[inline]
3839def now : IO PlainDate :=
@@ -42,7 +43,7 @@ end PlainDate
4243namespace PlainTime
4344
4445/--
45- Get the current time, in the current timezone.
46+ Get the current time, in the local timezone.
4647-/
4748@[inline]
4849def now : IO PlainTime :=
You can’t perform that action at this time.
0 commit comments