Skip to content

Commit 11e1d69

Browse files
committed
Specify default of [period]
1 parent d668b95 commit 11e1d69

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

diagrams/diagrams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(self, name, diagram):
5959
case_sensitive = Sequence("case_sensitive:", Choice(0, "true", "false"))
6060
hour_repr = Sequence("repr:", Choice(0, "24", "12"))
6161
month_repr = Sequence("repr:", Choice(0, "numerical", "long", "short"))
62-
period_case = Sequence("case:", Choice(0, "lower", "upper"))
62+
period_case = Sequence("case:", Choice(0, "upper", "lower"))
6363
sign = Sequence("sign:", Choice(0, "automatic", "mandatory"))
6464
subsecond_digits = Sequence(
6565
"digits:", Choice(0, "1+", "1", "2", "3", "4", "5", "6", "7", "8", "9")

src/api/format-description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ ASCII whitespace characters.
250250

251251
![syntax for period component](../diagrams/period.svg#rr)
252252

253-
Users have the option to choose whether the value is uppercase or lowercase. This component is
254-
typically used in conjunction with the hour of the day with `repr:12`.
253+
Users have the option to choose whether the value is uppercase (the default) or lowercase. This
254+
component is typically used in conjunction with the hour of the day with `repr:12`.
255255

256256
When parsing, there is the option to consume text-based formats case-insensitively.
257257

0 commit comments

Comments
 (0)