Skip to main content

to_dayjs

Function to_dayjs 

Source
pub fn to_dayjs(pattern: &str) -> Result<String>
Expand description

Translate a PHP pattern to Day.js tokens.

ยงErrors

Rejects tokens Day.js cannot express instead of generating an incompatible format.