Skip to content

Settings Types: Time: suffix vs prefix #1558

Description

@respiranto

In /docs/core/settings/types.md, the documentation for both "Time" and "Millisecond Time" talks of suffixes of "secs", "seconds", "mins", where (I believe) it should actually talk of prefixes of these words, and using them as suffixes.

Suggestion (for "Time"):

The Time value is generally composed of a numeric prefix and a unit suffix.
The following words (and non-empty unambiguous prefixes thereof) are supported as unit suffixes:
...

The value can also be `infinite`.

(Or just disallow proper prefixes.)

Further, I assume there are also some bounds on the numeric part and/or the represented value; their documentation would also be welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions