blob: cbe627b79685eed5106577372179da05843644af (
plain)
1
2
3
4
5
6
|
import dateFormat from '~/lib/dateformat';
/**
* Returns a date object corresponding to the given date string.
*/
export const dateFromString = (dateString) => new Date(dateFormat(dateString));
|