Skip to content

Commit f3f2610

Browse files
authored
Review comment
1 parent 11b2667 commit f3f2610

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Std/Time/Zoned.lean

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ set_option linter.all true
1717
namespace 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]
2324
def now : IO PlainDateTime := do
@@ -32,7 +33,7 @@ end PlainDateTime
3233
namespace PlainDate
3334

3435
/--
35-
Get the current date, in the current timezone.
36+
Get the current date, in the local timezone.
3637
-/
3738
@[inline]
3839
def now : IO PlainDate :=
@@ -42,7 +43,7 @@ end PlainDate
4243
namespace PlainTime
4344

4445
/--
45-
Get the current time, in the current timezone.
46+
Get the current time, in the local timezone.
4647
-/
4748
@[inline]
4849
def now : IO PlainTime :=

0 commit comments

Comments
 (0)