Skip to main content

nap_parse

Function nap_parse 

Source
pub fn nap_parse(text: &Value) -> DogeResult
Expand description

nap.parse(text) — unix seconds (as a Float) for an ISO-8601 UTC timestamp "YYYY-MM-DDTHH:MM:SSZ". The trailing Z is optional. Anything that is not a well-formed, in-range UTC timestamp is a catchable ValueError with a hint.