Skip to main content

parse_disabled_until

Function parse_disabled_until 

Source
pub fn parse_disabled_until(
    raw: &str,
    row: usize,
) -> Result<Option<DateTime<Utc>>>
Expand description

Parse a disabledUntil cell. Only strict YYYY-MM-DD is accepted; the result is midnight UTC of the following day, so the test stays disabled for the whole calendar day. Empty means no date. row (1-based sheet row, 0 = unknown) only appears in the error message.