dgkf / dgkf/parttime

Parsing/formatting ISO 8601 years less than zero or greater than 9999

Open
#49 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
18
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Not entirely sure if you should care about such years but I noticed while playing around that `{parttime}` doesn't always correctly parse/format ISO 8601 years less than zero or greater than 9999

[According to Wikipedia](https://en.wikipedia.org/wiki/ISO_8601#Years) years less than zero or greater than 9999 should be at least four digits wide and prependend with either a "+" or a "-" e.g.

```
+12345
-12345
-0004
```

I do observe that negative numbers strictly less than `-999` seem to be formatted correctly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.