Skip to content

Decide whether to abbreviate nanosecond or not in aliases #3943

Description

@nicolo-ribaudo

Currently we are inconsistent, using ns in https://tc39.es/ecma262/#sec-localtime and nanoseconds in https://tc39.es/ecma262/#sec-parsetimezoneoffsetstring and https://tc39.es/ecma262/#sec-getnamedtimezoneoffsetnanoseconds. Temporal will introduce a lot more usage of it in aliases.

I lean towards abbreviating it, even though it gets a bit awkward with the plural (I'd abbreviate both nanosecond and nanoseconds to just ns). I would also be happy to abbreviate millisecond to ms, e.g. https://tc39.es/ecma262/#sec-hostenqueuetimeoutjob.

We very briefly talked about this in the editor call yesterday, but didn't continue to wait for @linusg.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions