[Maturing]

convert_jdate(date, legacy = FALSE)

Arguments

date

A character object.

legacy

A logical to switch converter. If TRUE supplied, use the legacy converter instead of 'ICU' implementation.

Examples

convert_jdate("R3/2/27")
#> [1] "2021-02-27"
convert_jdate("\u4ee4\u548c2\u5e747\u67086\u65e5")
#> [1] "2020-07-06"