Skip to main content

frontend_config

Function frontend_config 

Source
pub fn frontend_config(config: &DateConfig) -> Result<Value>
Expand description

The shared contract for the frontend: pass the JSON to configureUtilsDates().

ยงErrors

Returns [Error::InvalidArgument] for a pattern Day.js cannot express.