diff options
| author | lit <litlighilit@foxmail.com> | 2024-07-23 09:56:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 09:56:36 +0800 |
| commit | 03973dca30828aea5cc189d551be34d22d10b7b4 (patch) | |
| tree | 1384a1c24b290c913e7811a3de51b662126b6cff /lib | |
| parent | 881fbb8f81599c6f633158618f05fa05439816ca (diff) | |
| download | Nim-03973dca30828aea5cc189d551be34d22d10b7b4.tar.gz | |
doc,test(times): followup #23861 (#23881)
followup #23861
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pure/times.nim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/pure/times.nim b/lib/pure/times.nim index da130d35e..e59153455 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -131,9 +131,10 @@ =========== ================================================================================= ============================================== Other strings can be inserted by putting them in `''`. For example - `hh'->'mm` will give `01->56`. The following characters can be - inserted without quoting them: `:` `-` `(` `)` `/` `[` `]` - `,`. A literal `'` can be specified with `''`. + `hh'->'mm` will give `01->56`. In addition to spaces, + the following characters can be inserted without quoting them: + `:` `-` `,` `.` `(` `)` `/` `[` `]`. + A literal `'` can be specified with `''`. However you don't need to necessarily separate format patterns, as an unambiguous format string like `yyyyMMddhhmmss` is also valid (although |