Skip to main content

DATETIME_FORMAT

Constant DATETIME_FORMAT 

Source
pub const DATETIME_FORMAT: &str = "%Y-%m-%dT%H:%M";
Expand description

The wire format a FieldKind::DateTime value takes: YYYY-MM-DDTHH:MM, local, carrying no zone and no seconds.

DATE_FORMAT’s sibling and there for its reason. The absent zone is a property of the value rather than an omission: the moment is not fixed until something outside the description supplies one.