Skip to content

Commit f401038

Browse files
authored
Expand Calendar examples and indent paragraph (#15578)
1 parent 6d12dce commit f401038

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/elixir/lib/calendar.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ defmodule Calendar do
566566
u | Day of the week | 1 (Monday), 7 (Sunday)
567567
x | Preferred date (without time) representation | 2018-10-17
568568
X | Preferred time (without date) representation | 12:34:56
569-
y | Year as 2-digits | 01, 01, 86, 18
569+
y | Year as 2-digits | -01, 01, 86, 18
570570
Y | Year | -0001, 0001, 1986
571571
z | +hhmm/-hhmm time zone offset from UTC (empty string if naive) | +0300, -0530
572572
Z | Time zone abbreviation (empty string if naive) | CET, BRST
@@ -623,7 +623,7 @@ defmodule Calendar do
623623
...>)
624624
"серпень"
625625
626-
Microsecond formatting:
626+
Microsecond formatting:
627627
628628
iex> Calendar.strftime(~U[2019-08-26 13:52:06Z], "%y-%m-%d %H:%M:%S.%f")
629629
"19-08-26 13:52:06.0"

0 commit comments

Comments
 (0)