MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / cron_timezone_parse_negative

Function cron_timezone_parse_negative

nodedb/src/config/server/scheduler.rs:211–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210 #[test]
211 fn cron_timezone_parse_negative() {
212 let tz = CronTimezone::parse("-05:00").unwrap();
213 assert_eq!(tz.offset_seconds(), -5 * 3600);
214 }
215
216 #[test]
217 fn cron_timezone_parse_zero_positive() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.50

Tested by

no test coverage detected