dgkf / dgkf/parttime

Formatting of missing in the middle components is confusing

Open
#47 5 comments 0 reactions 0 assignees View on GitHub
change::patch
Dominant language
R
Stars
18
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The formatting of dates where a component in the middle is missing is confusing. For example:
```
> as.parttime("2020---02", format = parse_cdisc_datetime)
[1]>
[1] "2020-00-02"
```
I would expect `"2020-NA-02" or "2020---02".

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.