Skip to main content

format_tz

Function format_tz 

Source
pub fn format_tz(value: Option<&str>) -> Option<String>
Expand description

value with its offset (FORMAT_TZ); value itself when it is not a date, and None for None.

PHP: DateTime::formatTz($dbFormat).