UNPKG

@seidhr/sanity-plugin-timespan-input

Version:

Make it easier to add timespan information with the help of Extended Date Time Format (EDTF).

8 lines (7 loc) 230 B
import { EDTF, Patch } from './types'; /** * Map the edtf extended Date to a Sanity patch array * @param {object} edtf edtf extended Date * @returns Sanity patch array */ export declare const mapEDTF: (edtf: EDTF) => Patch[];