fastlife.adapters.xcomponent.functions.functions¶
Module Contents¶
Functions¶
API¶
- fastlife.adapters.xcomponent.functions.functions.isoformat(value: str | datetime.date | datetime.datetime | None) str | None¶
Cast a date or a datetime to isoformat representation.
In case its not a date or a datetime, the value is preserved.
- fastlife.adapters.xcomponent.functions.functions.to_string(value: Any) str¶
convert a value to a string, the None value is displayed as an empty string.