MCPcopy Create free account
hub / github.com/TankHQ/tank / offset_datetime_parse

Function offset_datetime_parse

tests/value.rs:2175–2178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2173
2174 #[test]
2175 fn offset_datetime_parse() {
2176 let odt = <time::OffsetDateTime as AsValue>::parse("2024-06-15T14:30:00+05:00").unwrap();
2177 assert_eq!(odt.offset().whole_hours(), 5);
2178 }
2179
2180 #[test]
2181 fn uuid_from_varchar() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected