parseTime
Reads a time as epoch milliseconds: a number is taken as milliseconds, and an ISO string is parsed, reading one with a time but no zone as UTC (GDACS writes its dates that way). Returns null for anything else, including a number past the range a date can hold, which no formatter could show.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { parseTime } from "@mapcairn/core";
function parseTime(value: FieldValue): number | null;
Parameters
value(FieldValue)
Returns
number | null