UNPKG

date-fns-tz

Version:

Time zone support for date-fns v3 with the Intl API

4 lines (3 loc) 189 B
import { getTimezoneOffset as fn } from '../../getTimezoneOffset/index.js'; import { convertToFP } from '../_lib/convertToFP/index.js'; export const getTimezoneOffset = convertToFP(fn, 2);