Skip to content

Commit 845c8a6

Browse files
authored
Merge pull request #325 from grondo/fsd-ms
rfc23: add "ms" suffix to Flux Standard Duration
2 parents 0a17a29 + 1114cb7 commit 845c8a6

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
master_doc = 'index'
6464
source_suffix = '.rst'
6565

66+
linkcheck_ignore = [
67+
"https://help.github.com/en/pull-requests", # 403 Forbidden
68+
]
69+
6670

6771
# -- Options for HTML output -------------------------------------------------
6872

spec_23.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@ said to support "Flux Standard Duration."
3939
Implementation
4040
--------------
4141

42-
A duration in Flux Standard Duration SHALL be of the form ``N[SUFFIX]`` where
43-
``SUFFIX`` SHALL be optional and, if provided, MUST be a single character from the
44-
set ``s,m,h,d``. The value ``N`` MUST be a non-negative, non-infinite,
45-
floating-point number excluding ``NaN``. The value ``N`` SHALL be in one of the
46-
forms allowed by C99 [#f1]_ ``strtof`` or ``strtod`` and SHALL be interpreted as:
42+
A duration in Flux Standard Duration SHALL be of the form ``N[SUFFIX]``
43+
where ``SUFFIX`` SHALL be optional and, if provided, MUST be a string from
44+
the set { ``ms``, ``s``, ``m``, ``h``, ``d`` }. The value ``N`` MUST be a
45+
non-negative, non-infinite, floating-point number excluding ``NaN``. The
46+
value ``N`` SHALL be in one of the forms allowed by C99 [#f1]_ ``strtof``
47+
or ``strtod`` and SHALL be interpreted as:
48+
49+
- *milliseconds* if ``SUFFIX`` is ``ms``.
4750

4851
- *seconds* if ``SUFFIX`` is not provided, or is ``s``.
4952

0 commit comments

Comments
 (0)