Skip to content

Commit e300355

Browse files
authored
doc: correct span format example regex
PR #49
1 parent 3c3b810 commit e300355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fmt/temporal/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To a first approximation, the span format supported roughly corresponds to this
6161
regular expression:
6262
6363
```text
64-
P(\d+y)?(\d+m)?(\d+w)?(\d+d)?(T(\d+h)?(\d+m)?(\d+d)?)?
64+
P(\d+y)?(\d+m)?(\d+w)?(\d+d)?(T(\d+h)?(\d+m)?(\d+s)?)?
6565
```
6666
6767
But there are some details not easily captured by a simple regular expression:

0 commit comments

Comments
 (0)