Closed henriquesposito closed 2 years ago
Zero padding for incomplete date ranges and sets of dates is also being added so that expansion is facilitated and avoids errors (i.e. "-28..-14" should be "-0028..-0014" as well as "{200, 300, 400}" should be "{0200, 0300, 0400}").
e.g.
expand(as_messydate(c("200 BC:100 BC", "100 BC:1 AD", "1 AD:150 AD", "150 AD:200 AD", "200, 300, 400")))