82c3cc9dab1ee1836d0f20c71396c863c3c7b1e2e3a3e2bcd11f420ca8612337871f9fa7d7ad5b56e8aa620a251299c0ea7f4a8fb2785d40560d5be7127740 502 B

1234567891011121314151617181920
  1. import { PluginFunc, ConfigType } from 'dayjs'
  2. declare const plugin: PluginFunc
  3. export = plugin
  4. declare module 'dayjs' {
  5. interface Dayjs {
  6. tz(timezone?: string, keepLocalTime?: boolean): Dayjs
  7. offsetName(type?: 'short' | 'long'): string | undefined
  8. }
  9. interface DayjsTimezone {
  10. (date?: ConfigType, timezone?: string): Dayjs
  11. (date: ConfigType, format: string, timezone?: string): Dayjs
  12. guess(): string
  13. setDefault(timezone?: string): void
  14. }
  15. const tz: DayjsTimezone
  16. }