date-vir
Version:
Easy and explicit dates and times.
10 lines (9 loc) • 336 B
TypeScript
import { DateTime } from 'luxon';
import { type Timezone } from '../timezone/timezones.js';
/**
* Tries extra known formats for parsing date strings, even those that browsers do not natively
* support.
*
* @category Internal
*/
export declare function parseDateString(dateString: string, timezone: Timezone): DateTime | undefined;