Full Code of iamkun/dayjs for AI

dev cfd7e721b04d cached
378 files
755.2 KB
277.5k tokens
202 symbols
1 requests
Download .txt
Showing preview only (833K chars total). Download the full file or copy to clipboard to get everything.
Repository: iamkun/dayjs
Branch: dev
Commit: cfd7e721b04d
Files: 378
Total size: 755.2 KB

Directory structure:
gitextract_xim833qs/

├── .editorconfig
├── .eslintrc.json
├── .github/
│   ├── FUNDING.yml
│   ├── ISSUE_TEMPLATE/
│   │   └── --bug-report.md
│   └── workflows/
│       ├── check.yml
│       ├── lint-test.yml
│       └── release.yml
├── .gitignore
├── .npmignore
├── .releaserc
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── babel.config.js
├── build/
│   ├── esm.js
│   ├── index.js
│   └── rollup.config.js
├── docs/
│   ├── demo/
│   │   └── index.js
│   ├── en/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   └── Plugin.md
│   ├── es-es/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-es-es.md
│   ├── fr/
│   │   └── README-fr.md
│   ├── he/
│   │   └── README-he.md
│   ├── ja/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-ja.md
│   ├── ko/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-ko.md
│   ├── pt-br/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-pt-br.md
│   ├── ru/
│   │   ├── LICENSE-ru
│   │   └── README-ru.md
│   ├── si/
│   │   └── README-si.md
│   ├── sw/
│   │   └── README-sw.md
│   ├── tr/
│   │   └── README-tr.md
│   └── zh-cn/
│       ├── API-reference.md
│       ├── I18n.md
│       ├── Installation.md
│       ├── Plugin.md
│       └── README.zh-CN.md
├── karma.sauce.conf.js
├── package.json
├── patches/
│   └── @semantic-release+github+11.0.4.patch
├── prettier.config.js
├── src/
│   ├── constant.js
│   ├── index.js
│   ├── locale/
│   │   ├── af.js
│   │   ├── am.js
│   │   ├── ar-dz.js
│   │   ├── ar-iq.js
│   │   ├── ar-kw.js
│   │   ├── ar-ly.js
│   │   ├── ar-ma.js
│   │   ├── ar-sa.js
│   │   ├── ar-tn.js
│   │   ├── ar.js
│   │   ├── az.js
│   │   ├── be.js
│   │   ├── bg.js
│   │   ├── bi.js
│   │   ├── bm.js
│   │   ├── bn-bd.js
│   │   ├── bn.js
│   │   ├── bo.js
│   │   ├── br.js
│   │   ├── bs.js
│   │   ├── ca.js
│   │   ├── cs.js
│   │   ├── cv.js
│   │   ├── cy.js
│   │   ├── da.js
│   │   ├── de-at.js
│   │   ├── de-ch.js
│   │   ├── de.js
│   │   ├── dv.js
│   │   ├── el.js
│   │   ├── en-au.js
│   │   ├── en-ca.js
│   │   ├── en-gb.js
│   │   ├── en-ie.js
│   │   ├── en-il.js
│   │   ├── en-in.js
│   │   ├── en-nz.js
│   │   ├── en-sg.js
│   │   ├── en-tt.js
│   │   ├── en.js
│   │   ├── eo.js
│   │   ├── es-do.js
│   │   ├── es-mx.js
│   │   ├── es-pr.js
│   │   ├── es-us.js
│   │   ├── es.js
│   │   ├── et.js
│   │   ├── eu.js
│   │   ├── fa.js
│   │   ├── fi.js
│   │   ├── fo.js
│   │   ├── fr-ca.js
│   │   ├── fr-ch.js
│   │   ├── fr.js
│   │   ├── fy.js
│   │   ├── ga.js
│   │   ├── gd.js
│   │   ├── gl.js
│   │   ├── gom-latn.js
│   │   ├── gu.js
│   │   ├── he.js
│   │   ├── hi.js
│   │   ├── hr.js
│   │   ├── ht.js
│   │   ├── hu.js
│   │   ├── hy-am.js
│   │   ├── id.js
│   │   ├── is.js
│   │   ├── it-ch.js
│   │   ├── it.js
│   │   ├── ja.js
│   │   ├── jv.js
│   │   ├── ka.js
│   │   ├── kk.js
│   │   ├── km.js
│   │   ├── kn.js
│   │   ├── ko.js
│   │   ├── ku.js
│   │   ├── ky.js
│   │   ├── lb.js
│   │   ├── lo.js
│   │   ├── lt.js
│   │   ├── lv.js
│   │   ├── me.js
│   │   ├── mi.js
│   │   ├── mk.js
│   │   ├── ml.js
│   │   ├── mn.js
│   │   ├── mr.js
│   │   ├── ms-my.js
│   │   ├── ms.js
│   │   ├── mt.js
│   │   ├── my.js
│   │   ├── nb.js
│   │   ├── ne.js
│   │   ├── nl-be.js
│   │   ├── nl.js
│   │   ├── nn.js
│   │   ├── oc-lnc.js
│   │   ├── pa-in.js
│   │   ├── pl.js
│   │   ├── pt-br.js
│   │   ├── pt.js
│   │   ├── rn.js
│   │   ├── ro.js
│   │   ├── ru.js
│   │   ├── rw.js
│   │   ├── sd.js
│   │   ├── se.js
│   │   ├── si.js
│   │   ├── sk.js
│   │   ├── sl.js
│   │   ├── sq.js
│   │   ├── sr-cyrl.js
│   │   ├── sr.js
│   │   ├── ss.js
│   │   ├── sv-fi.js
│   │   ├── sv.js
│   │   ├── sw.js
│   │   ├── ta.js
│   │   ├── te.js
│   │   ├── tet.js
│   │   ├── tg.js
│   │   ├── th.js
│   │   ├── tk.js
│   │   ├── tl-ph.js
│   │   ├── tlh.js
│   │   ├── tr.js
│   │   ├── tzl.js
│   │   ├── tzm-latn.js
│   │   ├── tzm.js
│   │   ├── ug-cn.js
│   │   ├── uk.js
│   │   ├── ur.js
│   │   ├── uz-latn.js
│   │   ├── uz.js
│   │   ├── vi.js
│   │   ├── x-pseudo.js
│   │   ├── yo.js
│   │   ├── zh-cn.js
│   │   ├── zh-hk.js
│   │   ├── zh-tw.js
│   │   └── zh.js
│   ├── plugin/
│   │   ├── advancedFormat/
│   │   │   └── index.js
│   │   ├── arraySupport/
│   │   │   └── index.js
│   │   ├── badMutable/
│   │   │   └── index.js
│   │   ├── bigIntSupport/
│   │   │   └── index.js
│   │   ├── buddhistEra/
│   │   │   └── index.js
│   │   ├── calendar/
│   │   │   └── index.js
│   │   ├── customParseFormat/
│   │   │   └── index.js
│   │   ├── dayOfYear/
│   │   │   └── index.js
│   │   ├── devHelper/
│   │   │   └── index.js
│   │   ├── duration/
│   │   │   └── index.js
│   │   ├── isBetween/
│   │   │   └── index.js
│   │   ├── isLeapYear/
│   │   │   └── index.js
│   │   ├── isMoment/
│   │   │   └── index.js
│   │   ├── isSameOrAfter/
│   │   │   └── index.js
│   │   ├── isSameOrBefore/
│   │   │   └── index.js
│   │   ├── isToday/
│   │   │   └── index.js
│   │   ├── isTomorrow/
│   │   │   └── index.js
│   │   ├── isYesterday/
│   │   │   └── index.js
│   │   ├── isoWeek/
│   │   │   └── index.js
│   │   ├── isoWeeksInYear/
│   │   │   └── index.js
│   │   ├── localeData/
│   │   │   └── index.js
│   │   ├── localizedFormat/
│   │   │   ├── index.js
│   │   │   └── utils.js
│   │   ├── minMax/
│   │   │   └── index.js
│   │   ├── negativeYear/
│   │   │   └── index.js
│   │   ├── objectSupport/
│   │   │   └── index.js
│   │   ├── pluralGetSet/
│   │   │   └── index.js
│   │   ├── preParsePostFormat/
│   │   │   └── index.js
│   │   ├── quarterOfYear/
│   │   │   └── index.js
│   │   ├── relativeTime/
│   │   │   └── index.js
│   │   ├── timezone/
│   │   │   └── index.js
│   │   ├── toArray/
│   │   │   └── index.js
│   │   ├── toObject/
│   │   │   └── index.js
│   │   ├── updateLocale/
│   │   │   └── index.js
│   │   ├── utc/
│   │   │   └── index.js
│   │   ├── weekOfYear/
│   │   │   └── index.js
│   │   ├── weekYear/
│   │   │   └── index.js
│   │   └── weekday/
│   │       └── index.js
│   └── utils.js
├── test/
│   ├── __mocks__/
│   │   └── dayjs.js
│   ├── browser.spec.js
│   ├── comparison.test.js
│   ├── constructor.test.js
│   ├── display.test.js
│   ├── get-set.test.js
│   ├── issues/
│   │   ├── issue2027.correct-order.test.js
│   │   └── issue2027.swapped-order.test.js
│   ├── locale/
│   │   ├── ar-dz.test.js
│   │   ├── ar-iq.test.js
│   │   ├── ar-kw.test.js
│   │   ├── ar-ly.test.js
│   │   ├── ar-ma.test.js
│   │   ├── ar-sa.test.js
│   │   ├── ar-tn.test.js
│   │   ├── ar.test.js
│   │   ├── be.test.js
│   │   ├── bg.test.js
│   │   ├── bn-bd.test.js
│   │   ├── bn.test.js
│   │   ├── br.test.js
│   │   ├── cs.test.js
│   │   ├── de.test.js
│   │   ├── en.test.js
│   │   ├── et.test.js
│   │   ├── fi.test.js
│   │   ├── he.test.js
│   │   ├── hr.test.js
│   │   ├── hu.test.js
│   │   ├── is.test.js
│   │   ├── it-ch.test.js
│   │   ├── it.test.js
│   │   ├── ja.test.js
│   │   ├── keys.test.js
│   │   ├── ku.test.js
│   │   ├── lt.test.js
│   │   ├── pl.test.js
│   │   ├── ru.test.js
│   │   ├── sk.test.js
│   │   ├── sl.test.js
│   │   ├── sr-cyrl.test.js
│   │   ├── sr.test.js
│   │   ├── sv-fi.test.js
│   │   ├── sv.test.js
│   │   ├── uk.test.js
│   │   ├── zh-cn.test.js
│   │   ├── zh-hk.test.js
│   │   ├── zh-tw.test.js
│   │   └── zh.test.js
│   ├── locale.test.js
│   ├── manipulate.test.js
│   ├── parse.test.js
│   ├── plugin/
│   │   ├── advancedFormat.test.js
│   │   ├── arraySupport.test.js
│   │   ├── badMutable.test.js
│   │   ├── bigIntSupport.test.js
│   │   ├── buddhistEra.test.js
│   │   ├── calendar.test.js
│   │   ├── customParseFormat.test.js
│   │   ├── dayOfYear.test.js
│   │   ├── declarations.test.js
│   │   ├── devHelper.test.js
│   │   ├── duration.test.js
│   │   ├── isBetween.test.js
│   │   ├── isLeapYear.test.js
│   │   ├── isMoment.test.js
│   │   ├── isSameOrAfter.test.js
│   │   ├── isSameOrBefore.test.js
│   │   ├── isToday.test.js
│   │   ├── isTomorrow.test.js
│   │   ├── isYesterday.test.js
│   │   ├── isoWeek.test.js
│   │   ├── isoWeeksInYear.test.js
│   │   ├── localeData.test.js
│   │   ├── localizedFormat.test.js
│   │   ├── minMax.test.js
│   │   ├── negativeYear.test.js
│   │   ├── objectSupport.test.js
│   │   ├── pluralGetSet.test.js
│   │   ├── preParsePostFormat.test.js
│   │   ├── quarterOfYear.test.js
│   │   ├── relativeTime.test.js
│   │   ├── timezone.test.js
│   │   ├── toArray.test.js
│   │   ├── toObject.test.js
│   │   ├── updateLocale.test.js
│   │   ├── utc-utcOffset.test.js
│   │   ├── utc.test.js
│   │   ├── weekOfYear.test.js
│   │   ├── weekYear.test.js
│   │   └── weekday.test.js
│   ├── plugin.test.js
│   ├── query.test.js
│   ├── timezone.test.js
│   └── utils.test.js
└── types/
    ├── index.d.ts
    ├── locale/
    │   ├── index.d.ts
    │   └── types.d.ts
    └── plugin/
        ├── advancedFormat.d.ts
        ├── arraySupport.d.ts
        ├── badMutable.d.ts
        ├── bigIntSupport.d.ts
        ├── buddhistEra.d.ts
        ├── calendar.d.ts
        ├── customParseFormat.d.ts
        ├── dayOfYear.d.ts
        ├── devHelper.d.ts
        ├── duration.d.ts
        ├── isBetween.d.ts
        ├── isLeapYear.d.ts
        ├── isMoment.d.ts
        ├── isSameOrAfter.d.ts
        ├── isSameOrBefore.d.ts
        ├── isToday.d.ts
        ├── isTomorrow.d.ts
        ├── isYesterday.d.ts
        ├── isoWeek.d.ts
        ├── isoWeeksInYear.d.ts
        ├── localeData.d.ts
        ├── localizedFormat.d.ts
        ├── minMax.d.ts
        ├── negativeYear.d.ts
        ├── objectSupport.d.ts
        ├── pluralGetSet.d.ts
        ├── preParsePostFormat.d.ts
        ├── quarterOfYear.d.ts
        ├── relativeTime.d.ts
        ├── timezone.d.ts
        ├── toArray.d.ts
        ├── toObject.d.ts
        ├── updateLocale.d.ts
        ├── utc.d.ts
        ├── weekOfYear.d.ts
        ├── weekYear.d.ts
        └── weekday.d.ts

================================================
FILE CONTENTS
================================================

================================================
FILE: .editorconfig
================================================
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_size = 2


================================================
FILE: .eslintrc.json
================================================
{
  "extends": "airbnb-base",
  "plugins": [
    "jest"
  ],
  "env": {
    "jest/globals": true
  },
  "globals": {
    "window": true,
    "dayjs": true
  },
  "rules": {
    "semi": [
      2,
      "never"
    ],
    "comma-dangle": [
      "error",
      "never"
    ],
    "no-param-reassign": [
      0
    ],
    "func-names": [
      0
    ],
    "import/no-extraneous-dependencies": [
      0
    ],
    "import/no-unresolved": [
      2,
      {
        "ignore": [
          "dayjs"
        ]
      }
    ],
    "import/extensions": [
      2,
      "never"
    ]
  }
}


================================================
FILE: .github/FUNDING.yml
================================================
# These are supported funding model platforms

github: [iamkun]
patreon: # Replace with a single Patreon username
open_collective: dayjs
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']


================================================
FILE: .github/ISSUE_TEMPLATE/--bug-report.md
================================================
---
name: "\U0001F4A9Bug report"
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Information**
 - Day.js Version [e.g. v1.0.0]
 - OS: [e.g. iOS]
 - Browser [e.g. chrome 62]
 - Time zone: [e.g. GMT-07:00 DST (Pacific Daylight Time)]


================================================
FILE: .github/workflows/check.yml
================================================
name: Lint & Unit Test
on:
  push:
    branches: [dev]
  pull_request:
    branches: [dev]

jobs:
  check:
    uses: ./.github/workflows/lint-test.yml
    secrets:
      inherit


================================================
FILE: .github/workflows/lint-test.yml
================================================
on:
  workflow_call:
    secrets:
      CODECOV_TOKEN:
        required: false

jobs:
  lint-and-test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Setup Node
        uses: actions/setup-node@v3
        with:
          node-version: 'lts/*'
          cache: 'npm'
      - name: Install dependencies
        run: npm install
      - name: Run Lint
        run: npm run lint
      - name: Run tests
        run: npm test
      - name: Upload coverage to Codecov
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
        if: env.CODECOV_TOKEN != null
        uses: codecov/codecov-action@v4
        with:
          token: ${{ env.CODECOV_TOKEN }}


================================================
FILE: .github/workflows/release.yml
================================================
name: Release
on:
  push:
    branches: [master]

jobs:
  lint-and-test:
    uses: ./.github/workflows/lint-test.yml
    secrets:
      inherit
  release:
    needs: lint-and-test
    runs-on: ubuntu-latest
    permissions:
      contents: write
      issues: write
      pull-requests: write
      id-token: write
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - name: Setup Node.js
        uses: actions/setup-node@v3
        with:
          node-version: 'lts/*'
      - name: Install dependencies
        run: npm clean-install
      - name: Build
        env:
          NODE_OPTIONS: --openssl-legacy-provider
        run: npm run build && npm run babel
      - name: Verify provenance
        run: npm audit signatures
      - name: Release
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          npm install @semantic-release/changelog @semantic-release/git semantic-release --no-save
          npx patch-package
          npx semantic-release


================================================
FILE: .gitignore
================================================
# OSX
.DS_Store

# IDE
.idea
.vscode

# npm
node_modules
yarn.lock

# jest
coverage

# build
/locale
/plugin
/dayjs.min.js
/esm
/index.d.ts
locale.json

#dev
demo.js


================================================
FILE: .npmignore
================================================
# OSX
.DS_Store

# IDE
.idea

# npm
node_modules
yarn.lock
package-lock.json

# jest
coverage

# dev
src
test
types
build
babel.config.js
prettier.config.js
.eslintrc.json
patches

#doc
CONTRIBUTING.md
docs

#other
.travis.yml
karma.sauce.conf.js
.github
.releaserc


================================================
FILE: .releaserc
================================================
{
  "branches": ["master"],
  "prepare": [
    {
      "path": "@semantic-release/changelog"
    },
    [
      "@semantic-release/git",
      {
        "assets": [
          "CHANGELOG.md"
        ]
      }
    ]
  ]
}


================================================
FILE: CHANGELOG.md
================================================
## [1.11.20](https://github.com/iamkun/dayjs/compare/v1.11.19...v1.11.20) (2026-03-12)


### Bug Fixes

* Update locale km.js to support meridiem ([#3017](https://github.com/iamkun/dayjs/issues/3017)) ([9d2b6a1](https://github.com/iamkun/dayjs/commit/9d2b6a1ec744ad5db13afd4d701f93349135dfec))
* update updateLocale plugin to merge nested object properties instead of replacing ([#3012](https://github.com/iamkun/dayjs/issues/3012)) ([99691c5](https://github.com/iamkun/dayjs/commit/99691c5f3bd1371d3b763d5f9dfaed9a1945a477)), closes [#1118](https://github.com/iamkun/dayjs/issues/1118)

## [1.11.19](https://github.com/iamkun/dayjs/compare/v1.11.18...v1.11.19) (2025-10-31)


### Bug Fixes

* added usage warnings for diff + updated unit tests ([#2948](https://github.com/iamkun/dayjs/issues/2948)) ([269a7a9](https://github.com/iamkun/dayjs/commit/269a7a9cf3649b7a4b328e771173701764a8480d))
* dont instantiate regexes within ar locale functions to avoid performance overhead ([#2898](https://github.com/iamkun/dayjs/issues/2898)) ([af5e9f0](https://github.com/iamkun/dayjs/commit/af5e9f0e7649cbd1ecf707daab8303f2733f2563))
* replace italian locale "un' ora fa" with "un'ora fa", add tests for it ([#2930](https://github.com/iamkun/dayjs/issues/2930)) ([9e9f76c](https://github.com/iamkun/dayjs/commit/9e9f76cf117fa834260b30193434bc4481b4b6be))
* Updated Belarusian locale with relative time ([#2656](https://github.com/iamkun/dayjs/issues/2656)) ([1d8746c](https://github.com/iamkun/dayjs/commit/1d8746c23bd667bde80ee627a915301ebd69e1a2))

## [1.11.18](https://github.com/iamkun/dayjs/compare/v1.11.17...v1.11.18) (2025-08-30)


### Bug Fixes

* error semantic-release dependency ([8cfb313](https://github.com/iamkun/dayjs/commit/8cfb31386d840d31e9655870f4d8c01592eb753a))

## [1.11.17](https://github.com/iamkun/dayjs/compare/v1.11.16...v1.11.17) (2025-08-29)


### Bug Fixes

* [en-AU] locale use the same ordinal as moment ([#2878](https://github.com/iamkun/dayjs/issues/2878)) ([1b95ecd](https://github.com/iamkun/dayjs/commit/1b95ecd21d4feafe7ab113a2d48d7d8d93bb95c9))

## [1.11.16](https://github.com/iamkun/dayjs/compare/v1.11.15...v1.11.16) (2025-08-29)


### Bug Fixes

* test release workflow (no code changes) ([c38c428](https://github.com/iamkun/dayjs/commit/c38c428a78c344699eff373adfc8c007bb3a514f))

## [1.11.15](https://github.com/iamkun/dayjs/compare/v1.11.14...v1.11.15) (2025-08-28)


### Bug Fixes

* Fix misspellings in Irish or Irish Gaelic [ga] ([#2861](https://github.com/iamkun/dayjs/issues/2861)) ([9c14a42](https://github.com/iamkun/dayjs/commit/9c14a4245a8e764ee3260ff17a7ff48dfd09d279))

## [1.11.14](https://github.com/iamkun/dayjs/compare/v1.11.13...v1.11.14) (2025-08-27)


### Bug Fixes

* .utcOffset(0, true) result and its clone are different bug ([#2505](https://github.com/iamkun/dayjs/issues/2505)) ([fefdcd4](https://github.com/iamkun/dayjs/commit/fefdcd4b6b807786f65139b6dd801e0014d7dc6f))

## [1.11.13](https://github.com/iamkun/dayjs/compare/v1.11.12...v1.11.13) (2024-08-20)


### Bug Fixes

* customParseFormat supports Q quter / w ww weekOfYear ([#2705](https://github.com/iamkun/dayjs/issues/2705)) ([8ca74f1](https://github.com/iamkun/dayjs/commit/8ca74f178eff4bb4eb686676cf35fe7edb815536))

## [1.11.12](https://github.com/iamkun/dayjs/compare/v1.11.11...v1.11.12) (2024-07-18)


### Bug Fixes

* Add NegativeYear Plugin support  ([#2640](https://github.com/iamkun/dayjs/issues/2640)) ([6a42e0d](https://github.com/iamkun/dayjs/commit/6a42e0d7398639238f575d51287daaf4d495a2a3))
* add UTC support to negativeYear plugin ([#2692](https://github.com/iamkun/dayjs/issues/2692)) ([f3ef705](https://github.com/iamkun/dayjs/commit/f3ef705613af83333fe132b470896a65e12f31b0))
* Fix zero offset issue when use tz with locale ([#2532](https://github.com/iamkun/dayjs/issues/2532)) ([d0e6738](https://github.com/iamkun/dayjs/commit/d0e6738a66e1b65d3706aad2f9168ebb43d4f887))
* Improve typing for min/max plugin ([#2573](https://github.com/iamkun/dayjs/issues/2573)) ([4fbe94a](https://github.com/iamkun/dayjs/commit/4fbe94aaba8c815a42cf4d23dabac918ec50e68c))
* timezone plugin correct parse UTC tz ([#2693](https://github.com/iamkun/dayjs/issues/2693)) ([b575c81](https://github.com/iamkun/dayjs/commit/b575c81a8c9c85c7a0baf6f608a12f9d3ba95bd1))

## [1.11.11](https://github.com/iamkun/dayjs/compare/v1.11.10...v1.11.11) (2024-04-28)


### Bug Fixes

* day of week type literal ([#2630](https://github.com/iamkun/dayjs/issues/2630)) ([f68d73e](https://github.com/iamkun/dayjs/commit/f68d73efe562fdedd9e288ecb0ce6565e602f507))
* improve locale "zh-hk" format and meridiem ([#2419](https://github.com/iamkun/dayjs/issues/2419)) ([a947a51](https://github.com/iamkun/dayjs/commit/a947a5171aad5695eaf593bc95fe073de0f0894a))
* Update 'da' locale to match correct first week of year ([#2592](https://github.com/iamkun/dayjs/issues/2592)) ([44b0936](https://github.com/iamkun/dayjs/commit/44b0936ad709212b63e48672d8b9c225e2c3b830))
* update locale Bulgarian monthsShort Jan ([#2538](https://github.com/iamkun/dayjs/issues/2538)) ([f0c9a41](https://github.com/iamkun/dayjs/commit/f0c9a41c6ec91528f3790e442b0c5dff15a4e640))

## [1.11.10](https://github.com/iamkun/dayjs/compare/v1.11.9...v1.11.10) (2023-09-19)


### Bug Fixes

* Add Korean Day of Month with ordinal ([#2395](https://github.com/iamkun/dayjs/issues/2395)) ([dd55ee2](https://github.com/iamkun/dayjs/commit/dd55ee2aadd1009242235e47d558bbf028827896))
* change back fa locale to the Gregorian calendar equivalent ([#2411](https://github.com/iamkun/dayjs/issues/2411)) ([95e9458](https://github.com/iamkun/dayjs/commit/95e9458b221fe35e59ee4a160a5db247313a68fb))
* duration plugin - MILLISECONDS_A_MONTH const calculation ([#2362](https://github.com/iamkun/dayjs/issues/2362)) ([f0a0b54](https://github.com/iamkun/dayjs/commit/f0a0b546b074b3b511c2319a1ce83d412894b91f))
* duration plugin getter get result  0 instead of undefined ([#2369](https://github.com/iamkun/dayjs/issues/2369)) ([061aa7e](https://github.com/iamkun/dayjs/commit/061aa7ed6c31696974665fc9b11a74d30841ebed))
* fix isDayjs check logic ([#2383](https://github.com/iamkun/dayjs/issues/2383)) ([5f3f878](https://github.com/iamkun/dayjs/commit/5f3f8786c796cd432fe6bcb6966a810daea89203))
* fix timezone plugin to get correct locale setting ([#2420](https://github.com/iamkun/dayjs/issues/2420)) ([4f45012](https://github.com/iamkun/dayjs/commit/4f4501256fa1bc72128aae1d841bbd782df86aed))
* **locale:** add meridiem in `ar` locale ([#2418](https://github.com/iamkun/dayjs/issues/2418)) ([361be5c](https://github.com/iamkun/dayjs/commit/361be5c7c628614ee833d710acbe154a598b904d))
* round durations to millisecond precision for ISO string ([#2367](https://github.com/iamkun/dayjs/issues/2367)) ([890a17a](https://github.com/iamkun/dayjs/commit/890a17a8d8ddd43c7c8b806e3afc7b27f3288d27))
* sub-second precisions need to be rounded at the seconds field to avoid adding floats ([#2377](https://github.com/iamkun/dayjs/issues/2377)) ([a9d7d03](https://github.com/iamkun/dayjs/commit/a9d7d0398d22ebd4bfc3812ca0134a97606d54d9))
* update $x logic to avoid plugin error ([#2429](https://github.com/iamkun/dayjs/issues/2429)) ([2254635](https://github.com/iamkun/dayjs/commit/22546357f30924fcff3b3ffa14fd04be21f97a5e))
* Update Slovenian locale for relative time ([#2396](https://github.com/iamkun/dayjs/issues/2396)) ([5470a15](https://github.com/iamkun/dayjs/commit/5470a15e437fac803797363063b24f3ba3bd5299))
* update uzbek language translation ([#2327](https://github.com/iamkun/dayjs/issues/2327)) ([0a91056](https://github.com/iamkun/dayjs/commit/0a910564d76dc7c128da8e0d85d8e11ebdb5660b))

## [1.11.9](https://github.com/iamkun/dayjs/compare/v1.11.8...v1.11.9) (2023-07-01)


### Bug Fixes

* Add null to min and max plugin return type ([#2355](https://github.com/iamkun/dayjs/issues/2355)) ([62d9042](https://github.com/iamkun/dayjs/commit/62d9042eb84b78d78324694ccbeaad1679d37e68))
* check if null passed to objectSupport parser ([#2175](https://github.com/iamkun/dayjs/issues/2175)) ([013968f](https://github.com/iamkun/dayjs/commit/013968f609c32e2269df69b4dd1feb2e8e1e035a))
* dayjs.diff improve performance ([#2244](https://github.com/iamkun/dayjs/issues/2244)) ([33c80e1](https://github.com/iamkun/dayjs/commit/33c80e14cf14f70ceb4f54639e266cd70a3c3996))
* dayjs(null) throws error, not return dayjs object as invalid date ([#2334](https://github.com/iamkun/dayjs/issues/2334)) ([c79e2f5](https://github.com/iamkun/dayjs/commit/c79e2f5d03eef5660b1f13385b69c0c9668d2f98))
* objectSupport plugin causes an error when null is passed to dayjs function (closes [#2277](https://github.com/iamkun/dayjs/issues/2277)) ([#2342](https://github.com/iamkun/dayjs/issues/2342)) ([89bf31c](https://github.com/iamkun/dayjs/commit/89bf31ce0a36dcfc892029dc019d85d3654cf5fb))
* Optimize format method ([#2313](https://github.com/iamkun/dayjs/issues/2313)) ([1fe1b1d](https://github.com/iamkun/dayjs/commit/1fe1b1d9a214d3b8c9f267b432801424a493f1c4))
* update Duration plugin add/subtract take into account days in month ([#2337](https://github.com/iamkun/dayjs/issues/2337)) ([3b1060f](https://github.com/iamkun/dayjs/commit/3b1060f92183ab3a3c49289c2d87fbdd34c1eacc))
* update MinMax plugin 1. ignore the 'null' in args 2. return the only one arg ([#2330](https://github.com/iamkun/dayjs/issues/2330)) ([3c2c6ee](https://github.com/iamkun/dayjs/commit/3c2c6ee4db00bbb43a7a3bb0b56bc0d0f03daddc))

## [1.11.8](https://github.com/iamkun/dayjs/compare/v1.11.7...v1.11.8) (2023-06-02)


### Bug Fixes

* .format add padding to 'YYYY' ([#2231](https://github.com/iamkun/dayjs/issues/2231)) ([00c223b](https://github.com/iamkun/dayjs/commit/00c223b7e92970d07557133994fcb225a6d4c960))
* Added .valueOf method to Duration class ([#2226](https://github.com/iamkun/dayjs/issues/2226)) ([9b4fcfd](https://github.com/iamkun/dayjs/commit/9b4fcfde35b39693894be1821b6c7222fac98657))
* timezone type mark `date` parameter as optional ([#2222](https://github.com/iamkun/dayjs/issues/2222)) ([b87aa0e](https://github.com/iamkun/dayjs/commit/b87aa0ed9a748c478a66ef48230cd1d6350d7b8a))
* type file first parameter date is optional in isSame(), isBefore(), isAfter() ([#2272](https://github.com/iamkun/dayjs/issues/2272)) ([4d56f3e](https://github.com/iamkun/dayjs/commit/4d56f3eb2b3770879d60f824590bf1b32f237d47))

## [1.11.7](https://github.com/iamkun/dayjs/compare/v1.11.6...v1.11.7) (2022-12-06)


### Bug Fixes

* Add locale (zh-tw) meridiem ([#2149](https://github.com/iamkun/dayjs/issues/2149)) ([1e9ba76](https://github.com/iamkun/dayjs/commit/1e9ba761ff4e3f2759106dfe1aa9054d5826451c))
* update fa locale ([#2151](https://github.com/iamkun/dayjs/issues/2151)) ([1c26732](https://github.com/iamkun/dayjs/commit/1c267321a1a01b4947e1482bac67d67ebc7c3dfa))

## [1.11.6](https://github.com/iamkun/dayjs/compare/v1.11.5...v1.11.6) (2022-10-21)


### Bug Fixes

* add BigIntSupport plugin ([#2087](https://github.com/iamkun/dayjs/issues/2087)) ([f6dce48](https://github.com/iamkun/dayjs/commit/f6dce48a9e39677718b087867d9fd901d5078155))
* Fix objectSupport collides with Duration plugin - issue [#2027](https://github.com/iamkun/dayjs/issues/2027) ([#2038](https://github.com/iamkun/dayjs/issues/2038)) ([c9370ea](https://github.com/iamkun/dayjs/commit/c9370ea96bf420439ee7eaa4146e8ed643160312))

## [1.11.5](https://github.com/iamkun/dayjs/compare/v1.11.4...v1.11.5) (2022-08-12)


### Bug Fixes

* ordinal for nl not working ([#2011](https://github.com/iamkun/dayjs/issues/2011)) ([c93c85e](https://github.com/iamkun/dayjs/commit/c93c85eaa11564a1aae2d823480a417812c01bf4))
* wrong ordinal for french locale ([#2010](https://github.com/iamkun/dayjs/issues/2010)) ([dd192a7](https://github.com/iamkun/dayjs/commit/dd192a72fc5d26ce56481e89b0c1ccf5f939be0c))

## [1.11.4](https://github.com/iamkun/dayjs/compare/v1.11.3...v1.11.4) (2022-07-19)


### Bug Fixes

* correct past property in ku (kurdish) locale ([#1916](https://github.com/iamkun/dayjs/issues/1916)) ([74e82b9](https://github.com/iamkun/dayjs/commit/74e82b9da5ec8b90361fc27ac7c8b63faf354502))
* fix French [fr] local ordinal ([#1932](https://github.com/iamkun/dayjs/issues/1932)) ([8f09834](https://github.com/iamkun/dayjs/commit/8f09834a88b8e7f8353c6e7473d4711596890a8c))
* fix objectSupport plugin ConfigTypeMap type ([#1441](https://github.com/iamkun/dayjs/issues/1441)) ([#1990](https://github.com/iamkun/dayjs/issues/1990)) ([fd51fe4](https://github.com/iamkun/dayjs/commit/fd51fe4f7fa799d8c598343e71fa59299ec4cf93))
* fix type error to add ordianl property in InstanceLocaleDataReturn and GlobalLocaleDataReturn types ([#1931](https://github.com/iamkun/dayjs/issues/1931)) ([526f0ae](https://github.com/iamkun/dayjs/commit/526f0ae549ffbeeb9ef1099ca23964791fc59743))
* update locale ar-* meridiem function ([#1954](https://github.com/iamkun/dayjs/issues/1954)) ([3d31611](https://github.com/iamkun/dayjs/commit/3d316117f04362d31f4e8bd349620b8414ce5d0c))
* zh-tw / zh-hk locale ordinal error ([#1976](https://github.com/iamkun/dayjs/issues/1976)) ([0a1bd08](https://github.com/iamkun/dayjs/commit/0a1bd08e736be7d4e378aaca280caa6543f8066d))

## [1.11.3](https://github.com/iamkun/dayjs/compare/v1.11.2...v1.11.3) (2022-06-06)


### Bug Fixes

*  customParseFormat plugin to parse comma as a separator character ([#1913](https://github.com/iamkun/dayjs/issues/1913)) ([41b1405](https://github.com/iamkun/dayjs/commit/41b1405971e099431211ae6c2a100cd797da4427))
* update Dutch [nl] locale ordinal ([#1908](https://github.com/iamkun/dayjs/issues/1908)) ([5da98f8](https://github.com/iamkun/dayjs/commit/5da98f8085d2d2847d79e38c795082703a14f24b))

## [1.11.2](https://github.com/iamkun/dayjs/compare/v1.11.1...v1.11.2) (2022-05-06)


### Bug Fixes

* add OpUnitType (week) to quarterOfYear startOf/endOf types ([#1865](https://github.com/iamkun/dayjs/issues/1865)) ([400bc3e](https://github.com/iamkun/dayjs/commit/400bc3e8915e0c58e7abbfd3a1235364b1abaf3e))
* Fix type issue with ManipulateType ([#1864](https://github.com/iamkun/dayjs/issues/1864)) ([d033dfc](https://github.com/iamkun/dayjs/commit/d033dfcfc1d2ced39b2733898e8d85ad5984c9e9))
* fix UTC plugin .valueOf not taking DST into account  ([#1448](https://github.com/iamkun/dayjs/issues/1448)) ([27d1c50](https://github.com/iamkun/dayjs/commit/27d1c506100ae6624f258c21cc06b24768ced733))

## [1.11.1](https://github.com/iamkun/dayjs/compare/v1.11.0...v1.11.1) (2022-04-15)


### Bug Fixes

* add Bengali (Bangladesh) [bn-bd] locale ([#1806](https://github.com/iamkun/dayjs/issues/1806)) ([840ed76](https://github.com/iamkun/dayjs/commit/840ed76eedc085afefc4dedd05f31d44196b63b0))
* refactor replace deprecated String.prototype.substr() ([#1836](https://github.com/iamkun/dayjs/issues/1836)) ([627fa39](https://github.com/iamkun/dayjs/commit/627fa393e4daf83c92431162dbe18534b23fcbae))
* Update German [de] locale, adds the abbreviations for month including a . in the end, as in September -> Sept. ([#1831](https://github.com/iamkun/dayjs/issues/1831)) ([4e2802c](https://github.com/iamkun/dayjs/commit/4e2802cc3bec2941ffb737a15fb531c90951eafe))
* update Italian (Switzerland) [it-ch] locale relativeTime ([#1829](https://github.com/iamkun/dayjs/issues/1829)) ([8e6d11d](https://github.com/iamkun/dayjs/commit/8e6d11d053393d97bee1ba411adb2d82de1a58c4))
* update Kurdish [ku] locale strings and formatted output contains non-standard kurdish characters ([#1848](https://github.com/iamkun/dayjs/issues/1848)) ([a597d0b](https://github.com/iamkun/dayjs/commit/a597d0b1b8dd28e626f8c59d326622088f7b51e7))
* update locale bo [Tibetan]: corrected the orders in formats ([#1823](https://github.com/iamkun/dayjs/issues/1823)) ([e790516](https://github.com/iamkun/dayjs/commit/e79051617af6787358f6c9b5443d987b8b53a9e1))

# [1.11.0](https://github.com/iamkun/dayjs/compare/v1.10.8...v1.11.0) (2022-03-14)


### Bug Fixes

* Add Kirundi (rn) locale ([#1793](https://github.com/iamkun/dayjs/issues/1793)) ([74e5247](https://github.com/iamkun/dayjs/commit/74e5247227a779fffde39bdfcd1ee19911496709))
* add missing date shorthand D type definition ([#1752](https://github.com/iamkun/dayjs/issues/1752)) ([b045baf](https://github.com/iamkun/dayjs/commit/b045baf1646a81f7e4f446f355d02d5fb0ef4aa7))
* Add relative time to Galician (gl) and fix ordinals ([#1800](https://github.com/iamkun/dayjs/issues/1800)) ([dcbf170](https://github.com/iamkun/dayjs/commit/dcbf1708400624addfbddbc71e0f6a9ac15fa961))
* update German locales (de-at, de-ch) ([#1775](https://github.com/iamkun/dayjs/issues/1775)) ([f9055a7](https://github.com/iamkun/dayjs/commit/f9055a77bf3d84c575e5fcf99e21611138ba64d7))
* update Icelandic [is] locale relativeTime config ([#1796](https://github.com/iamkun/dayjs/issues/1796)) ([76f9e17](https://github.com/iamkun/dayjs/commit/76f9e1756de7e99c01e471dab30ea074b9ec9629))
* Update index.d.ts note ([#1716](https://github.com/iamkun/dayjs/issues/1716)) ([5a108ff](https://github.com/iamkun/dayjs/commit/5a108ff3159c53fd270ea7638f33c35c934d6457))
* Update locale German [de] monthsShort ([#1746](https://github.com/iamkun/dayjs/issues/1746)) ([4a7b7d0](https://github.com/iamkun/dayjs/commit/4a7b7d07c885bb9338514c234dbb708e24e9863e))
* update meridiem function to Kurdish (ku) locale ([#1725](https://github.com/iamkun/dayjs/issues/1725)) ([efd3904](https://github.com/iamkun/dayjs/commit/efd3904ff8cbf0a4fc064911dda76fc86b669f7b))
* update updateLocal plugin typescript types ([#1692](https://github.com/iamkun/dayjs/issues/1692)) ([c7a3f73](https://github.com/iamkun/dayjs/commit/c7a3f73064dbb63b4d365b2ad4c792f075f4d8d8))


### Features

* Fallback to language only locale + support uppercase locales ([#1524](https://github.com/iamkun/dayjs/issues/1524)) ([9138dc2](https://github.com/iamkun/dayjs/commit/9138dc28206875372da4fb74c64716437cd11b95))

## [1.10.8](https://github.com/iamkun/dayjs/compare/v1.10.7...v1.10.8) (2022-02-28)


### Bug Fixes

* set locale pt, pt-br correct weekdays and months ([#1697](https://github.com/iamkun/dayjs/issues/1697)) ([e019301](https://github.com/iamkun/dayjs/commit/e01930171c8235f58a114236f146086428f99569))

## [1.10.7](https://github.com/iamkun/dayjs/compare/v1.10.6...v1.10.7) (2021-09-10)


### Bug Fixes

* Add  Spanish (Mexico) [es-mx] locale ([#1614](https://github.com/iamkun/dayjs/issues/1614)) ([3393f2a](https://github.com/iamkun/dayjs/commit/3393f2ad55346d55902683a2e31c6f253d96c8c2))
* Add Arabic (Iraq) [ar-iq] locale ([#1627](https://github.com/iamkun/dayjs/issues/1627)) ([b5a1391](https://github.com/iamkun/dayjs/commit/b5a1391011b247d08863d291542db5937b23b427))
* add format object type to type file ([#1572](https://github.com/iamkun/dayjs/issues/1572)) ([5a79cc6](https://github.com/iamkun/dayjs/commit/5a79cc6408e825d9e123629eb44fc19c996d7751))
* duration plugin when parsing duration from ISO string, set missing components to 0 instead of NaN ([#1611](https://github.com/iamkun/dayjs/issues/1611)) ([252585b](https://github.com/iamkun/dayjs/commit/252585b4b2bd59508150e21bb994908a9d78f9b0))
* narrow type for `add` and `subtract` ([#1576](https://github.com/iamkun/dayjs/issues/1576)) ([1686962](https://github.com/iamkun/dayjs/commit/16869621b1a42563064dbf87f80c1ebfd74c1188))
* update customParseFormat plugin strict x X parsing ([#1571](https://github.com/iamkun/dayjs/issues/1571)) ([08adda5](https://github.com/iamkun/dayjs/commit/08adda54edbcca38601f57841921d0f87f84e49e))
* update Lithuanian [lt] locale spelling for single month ([#1609](https://github.com/iamkun/dayjs/issues/1609)) ([255dc54](https://github.com/iamkun/dayjs/commit/255dc54d9295de135a9037ce6ca13cae4bfd2cfb))
* Update Norwegian Bokmål [nb] local yearStart 4 ([#1608](https://github.com/iamkun/dayjs/issues/1608)) ([7a8467c](https://github.com/iamkun/dayjs/commit/7a8467c0b7d59821f7e19d4a6973bcda8e4c19b1))
* update plugin advancedFormat `isValid` validation ([#1566](https://github.com/iamkun/dayjs/issues/1566)) ([755fc8b](https://github.com/iamkun/dayjs/commit/755fc8bb1c532eb991459f180eee81367d12016c))
* update Sinhalese [si] locale month name ([#1475](https://github.com/iamkun/dayjs/issues/1475)) ([63de2a8](https://github.com/iamkun/dayjs/commit/63de2a8b7dcd7e68c132c85d88572d4c9d296907))
* update utcOffset plugin type file ([#1604](https://github.com/iamkun/dayjs/issues/1604)) ([f68e4b1](https://github.com/iamkun/dayjs/commit/f68e4b1a29fc33542f74cde10ec6d9fb045ca37e))

## [1.10.6](https://github.com/iamkun/dayjs/compare/v1.10.5...v1.10.6) (2021-07-06)


### Bug Fixes

* add invalid date string override ([#1465](https://github.com/iamkun/dayjs/issues/1465)) ([#1470](https://github.com/iamkun/dayjs/issues/1470)) ([06f88f4](https://github.com/iamkun/dayjs/commit/06f88f425828b1ce96b737332d25145a95a4ee9d))
* add sv-fi Finland Swedish locale ([#1522](https://github.com/iamkun/dayjs/issues/1522)) ([8e32164](https://github.com/iamkun/dayjs/commit/8e32164855cff724642e24c37a631eb4c4d760c8))
* customParseFormat support parsing X x timestamp ([#1567](https://github.com/iamkun/dayjs/issues/1567)) ([eb087f5](https://github.com/iamkun/dayjs/commit/eb087f52861313b8dd8a5c1b77858665ec72859e))
* dayjs ConfigTypeMap add null & undefined ([#1560](https://github.com/iamkun/dayjs/issues/1560)) ([b5e40e6](https://github.com/iamkun/dayjs/commit/b5e40e6f16abeaea6a0facfa466d20aefaa8a444))
* Fix DayOfYear plugin when using BadMutable plugin ([#1511](https://github.com/iamkun/dayjs/issues/1511)) ([0b0c6a3](https://github.com/iamkun/dayjs/commit/0b0c6a31ec9c0aff991b0e8dd6eed116201274cc))
* Implement ordinal in Bulgarian translation (fixes [#1501](https://github.com/iamkun/dayjs/issues/1501)) ([#1502](https://github.com/iamkun/dayjs/issues/1502)) ([b728da5](https://github.com/iamkun/dayjs/commit/b728da5ed9ed08210004ed20ce5fcd52a92de7da))
* more strict delimiter in REGEX_PARSE ([#1555](https://github.com/iamkun/dayjs/issues/1555)) ([bfdab5c](https://github.com/iamkun/dayjs/commit/bfdab5c0d45a5736b68e8e1b1354fc021e05f607))
* parameter type ([#1549](https://github.com/iamkun/dayjs/issues/1549)) ([f369844](https://github.com/iamkun/dayjs/commit/f369844dd69d253c4c7cbf68150939db3db233be))
* update customParseFormat plugin to custom two-digit year parse function ([#1421](https://github.com/iamkun/dayjs/issues/1421)) ([bb5df55](https://github.com/iamkun/dayjs/commit/bb5df55cd3975dc7638b8f4e762afa470b6620f7))
* update names of weekdays and months in Bulgarian [bg] to lowercase ([#1438](https://github.com/iamkun/dayjs/issues/1438)) ([b246210](https://github.com/iamkun/dayjs/commit/b24621091fec9cf6704de21e4b323f6f0c4abbf1))
* update type file `.diff` ([#1505](https://github.com/iamkun/dayjs/issues/1505)) ([6508494](https://github.com/iamkun/dayjs/commit/6508494a4e62977b4397baaeef293d1bcf3c7235))
* update UTC plugin type file for strict parsing ([#1443](https://github.com/iamkun/dayjs/issues/1443)) ([b4f28df](https://github.com/iamkun/dayjs/commit/b4f28df219fe63202dffdbeeaec5677c4d2c9111))

## [1.10.5](https://github.com/iamkun/dayjs/compare/v1.10.4...v1.10.5) (2021-05-26)


### Bug Fixes

* add meridiem in ar locales ([#1375](https://github.com/iamkun/dayjs/issues/1375)) ([319f616](https://github.com/iamkun/dayjs/commit/319f616e572a03b984013d04d1b3a18ffd5b1190))
* Added Zulu support to customParseFormat ([#1359](https://github.com/iamkun/dayjs/issues/1359)) ([1138a3f](https://github.com/iamkun/dayjs/commit/1138a3f0a76592c6d72fb86c4399e133fa41e2ec))
* fix Bengali [bn] locale monthsShort error ([a0e6c0c](https://github.com/iamkun/dayjs/commit/a0e6c0cf3e1828020dfa11432c6716990f6ed5e0))
* fix missing types for ArraySupport plugin ([#1401](https://github.com/iamkun/dayjs/issues/1401)) ([b1abdc4](https://github.com/iamkun/dayjs/commit/b1abdc40ee6c9d18ff46c311a114e0755677ea6f))
* fix Ukrainian [uk] locale ([#1463](https://github.com/iamkun/dayjs/issues/1463)) ([0fdac93](https://github.com/iamkun/dayjs/commit/0fdac93ff2531542301b76952be9b084b2e2dfa0))
* hotfix for `Duration` types ([#1357](https://github.com/iamkun/dayjs/issues/1357)) ([855b7b3](https://github.com/iamkun/dayjs/commit/855b7b3d049a3903794f91db3419f167c00dabd2)), closes [#1354](https://github.com/iamkun/dayjs/issues/1354)
* timezone plugin DST error ([#1352](https://github.com/iamkun/dayjs/issues/1352)) ([71bed15](https://github.com/iamkun/dayjs/commit/71bed155edf32bff24379930ac684fc783538d8f))
* Update duration plugin change string to number ([#1394](https://github.com/iamkun/dayjs/issues/1394)) ([e1546d1](https://github.com/iamkun/dayjs/commit/e1546d1a0cdb97ae92cf11efe61d94707af6a3a3))
* update Duration plugin to support no-argument ([#1400](https://github.com/iamkun/dayjs/issues/1400)) ([8d9a5ae](https://github.com/iamkun/dayjs/commit/8d9a5ae0749e1b4e76babd4deeaa3b1d9776c29b))
* Update Finnish [fi] locale to set yearStart  ([#1378](https://github.com/iamkun/dayjs/issues/1378)) ([f3370bd](https://github.com/iamkun/dayjs/commit/f3370bda4e435118f714c8a7daf5c88cfc4b69ba))
* update Russian [ru] locale meridiem and unit tests ([#1403](https://github.com/iamkun/dayjs/issues/1403)) ([f10f39d](https://github.com/iamkun/dayjs/commit/f10f39de7db70244a3c35e4a421090a12972457b))
* update Russian [ru] locale yearStart config  ([#1372](https://github.com/iamkun/dayjs/issues/1372)) ([5052515](https://github.com/iamkun/dayjs/commit/5052515fe35b2444201ef8ef87220b1876a94d0a))
* update Slovenian [sl] locale to set correct ordinal  ([#1386](https://github.com/iamkun/dayjs/issues/1386)) ([cb4f746](https://github.com/iamkun/dayjs/commit/cb4f74633b3020d6dbf19548c8cb13613dafca18))
* update Spanish [es] locale to change month names to lowercase ([#1414](https://github.com/iamkun/dayjs/issues/1414)) ([9c20e77](https://github.com/iamkun/dayjs/commit/9c20e77caf7b1b5eccf418175203b198d4e29535))
* update Swedish [sv] locale to set correct yearStart ([#1385](https://github.com/iamkun/dayjs/issues/1385)) ([66c5935](https://github.com/iamkun/dayjs/commit/66c59354964ef456bcd5f6152819618f44978082))
* update UTC plugin to support string argument like +HH:mm ([#1395](https://github.com/iamkun/dayjs/issues/1395)) ([656127c](https://github.com/iamkun/dayjs/commit/656127cc44eda50923a1ac755602863fc32b9e69))

## [1.10.4](https://github.com/iamkun/dayjs/compare/v1.10.3...v1.10.4) (2021-01-22)


### Bug Fixes

* Correct handling negative duration ([#1317](https://github.com/iamkun/dayjs/issues/1317)) ([3f5c085](https://github.com/iamkun/dayjs/commit/3f5c085608182472f20b84766b10949945663e44))
* Improve `Duration` types ([#1338](https://github.com/iamkun/dayjs/issues/1338)) ([4aca4b1](https://github.com/iamkun/dayjs/commit/4aca4b1b584a15de1146d929f95c944594032f20))
* parse a string for MMM month format with underscore delimiter ([#1349](https://github.com/iamkun/dayjs/issues/1349)) ([82ef9a3](https://github.com/iamkun/dayjs/commit/82ef9a304f06287ac0a14c4da9a7fe6152b5fec9))
* Update Bengali [bn] locale ([#1329](https://github.com/iamkun/dayjs/issues/1329)) ([02d96ec](https://github.com/iamkun/dayjs/commit/02d96ec7189f62d6ef8987135919cbb5ceff20a6))
* update locale Portuguese [pt] yearStart ([#1345](https://github.com/iamkun/dayjs/issues/1345)) ([5c785d5](https://github.com/iamkun/dayjs/commit/5c785d528cc08811638d7cbfc7fc158d67b32d75))
* update Polish [pl] locale yearStart ([#1348](https://github.com/iamkun/dayjs/issues/1348)) ([e93e6b8](https://github.com/iamkun/dayjs/commit/e93e6b8ffa61036b26382f1763e3864d4a7d5df5))
* Update Slovenian [sl] relativeTime locale ([#1333](https://github.com/iamkun/dayjs/issues/1333)) ([fe5f1d0](https://github.com/iamkun/dayjs/commit/fe5f1d0afbe57b70339e268047e6c3028ca3d59b))

## [1.10.3](https://github.com/iamkun/dayjs/compare/v1.10.2...v1.10.3) (2021-01-09)


### Bug Fixes

* fix customParseFormat plugin strict mode parse meridiem bug ([#1321](https://github.com/iamkun/dayjs/issues/1321)) ([e49eeef](https://github.com/iamkun/dayjs/commit/e49eeefbe8acb36419d36ca2e7ed8bc152f73ac1))
* fix weekYear plugin missing locale bug ([#1319](https://github.com/iamkun/dayjs/issues/1319)) ([344bdc0](https://github.com/iamkun/dayjs/commit/344bdc0eed6843edb05723dc7853a41833d88f08)), closes [#1304](https://github.com/iamkun/dayjs/issues/1304)
* update advancedFormat plugin to add format options for iso week and weekyear ([#1309](https://github.com/iamkun/dayjs/issues/1309)) ([2c54c64](https://github.com/iamkun/dayjs/commit/2c54c6441871a175ac9b95e41e4cd075dbac10cb))
* update devHelper to add dev warning setting locale before loading ([c5cc893](https://github.com/iamkun/dayjs/commit/c5cc89355e1e206ca72433c19c40cb528690b04f))
* update German [de] locale yearStart ([1858df8](https://github.com/iamkun/dayjs/commit/1858df8008de56570680723df89b36a8cbc970ef)), closes [#1264](https://github.com/iamkun/dayjs/issues/1264)

## [1.10.2](https://github.com/iamkun/dayjs/compare/v1.10.1...v1.10.2) (2021-01-05)


### Bug Fixes

* fix parse regex bug ([#1307](https://github.com/iamkun/dayjs/issues/1307)) ([db2b6a5](https://github.com/iamkun/dayjs/commit/db2b6a5ea8e70f9fda645d113ca33495aa96b616)), closes [#1305](https://github.com/iamkun/dayjs/issues/1305)
* remove module entry in package.json to revert 1.10.1 change ([#1314](https://github.com/iamkun/dayjs/issues/1314)) ([824dcb8](https://github.com/iamkun/dayjs/commit/824dcb8dfcccf14f64b6a2741a00fcdfe53dcd98))
* update devHelper add warning "passing Year as a Number will be parsed as a Unix timestamp" ([#1315](https://github.com/iamkun/dayjs/issues/1315)) ([b0dda31](https://github.com/iamkun/dayjs/commit/b0dda3139e25441ab4e7c1f4f192dee0ecce6ef8))

## [1.10.1](https://github.com/iamkun/dayjs/compare/v1.10.0...v1.10.1) (2021-01-03)


### Bug Fixes

* fix typescript type error UnitTypeLongPlural ([#1302](https://github.com/iamkun/dayjs/issues/1302)) ([bfaabe4](https://github.com/iamkun/dayjs/commit/bfaabe4f398c11564eca6cda7c8aded22e1b231a)), closes [#1300](https://github.com/iamkun/dayjs/issues/1300)

# [1.10.0](https://github.com/iamkun/dayjs/compare/v1.9.8...v1.10.0) (2021-01-03)


### Bug Fixes

* add ordinal to localeData plugin ([#1266](https://github.com/iamkun/dayjs/issues/1266)) ([fd229fa](https://github.com/iamkun/dayjs/commit/fd229fa5bd26bcba810e2535eb937ea8d99106c2))
* add preParsePostFormat plugin & update Arabic [ar] locale ([#1255](https://github.com/iamkun/dayjs/issues/1255)) ([f2e4790](https://github.com/iamkun/dayjs/commit/f2e479006a9a49bc0917f8620101d40ac645f7f2))
* add type support for plural forms of units ([#1289](https://github.com/iamkun/dayjs/issues/1289)) ([de49bb1](https://github.com/iamkun/dayjs/commit/de49bb100badfb92b9a5933cc568841f340a923f))
* escape last period to match only milliseconds ([#1239](https://github.com/iamkun/dayjs/issues/1239)) ([#1295](https://github.com/iamkun/dayjs/issues/1295)) ([64037e6](https://github.com/iamkun/dayjs/commit/64037e6a8cf303dcfd2b954f309bd9691f87fffc))


### Features

* add ES6 Module Support, package.json module point to "esm/index.js" ([#1298](https://github.com/iamkun/dayjs/issues/1298)) ([f63375d](https://github.com/iamkun/dayjs/commit/f63375dea89becbd3bb2bb8ea7289c58c752bfed)), closes [#598](https://github.com/iamkun/dayjs/issues/598) [#313](https://github.com/iamkun/dayjs/issues/313)

## [1.9.8](https://github.com/iamkun/dayjs/compare/v1.9.7...v1.9.8) (2020-12-27)


### Bug Fixes

* fix Ukrainian [uk] locale typo ([1605cc0](https://github.com/iamkun/dayjs/commit/1605cc0f6fe0e9c46a92d529bc9cd6e130432337))
* update Hebrew [he] locale for double units ([#1287](https://github.com/iamkun/dayjs/issues/1287)) ([1c4b0da](https://github.com/iamkun/dayjs/commit/1c4b0da1468522e59dc9ee646d10dd2b31477d99))
* update zh locale meridiem "noon" ([0e7ff3d](https://github.com/iamkun/dayjs/commit/0e7ff3dd29ca3aed85cb76dfcb8298d326e26542))
* update zh-cn locale definition of noon  ([#1278](https://github.com/iamkun/dayjs/issues/1278)) ([d5930b9](https://github.com/iamkun/dayjs/commit/d5930b96ff884f4176ca3fcb1bc95e8f1ec75c71))

## [1.9.7](https://github.com/iamkun/dayjs/compare/v1.9.6...v1.9.7) (2020-12-05)


### Bug Fixes

* add duration.format to format a Duration ([#1202](https://github.com/iamkun/dayjs/issues/1202)) ([9a859a1](https://github.com/iamkun/dayjs/commit/9a859a147ba223a1eeff0f2bb6f33d97e0ccc6c7))
* Add function handling for relativeTime.future and relativeTime.past ([#1197](https://github.com/iamkun/dayjs/issues/1197)) ([ef1979c](https://github.com/iamkun/dayjs/commit/ef1979ce85c61fe2d759ef3c37cb6aaf2358094f))
* avoid install installed plugin ([#1214](https://github.com/iamkun/dayjs/issues/1214)) ([a92eb6c](https://github.com/iamkun/dayjs/commit/a92eb6c4dc1437ec920e69484d52984f5921a8ea))
* avoid memory leak after installing a plugin too many times ([b8d2e32](https://github.com/iamkun/dayjs/commit/b8d2e32a9eb59661a7ed6200daa070687becaebd))
* fix diff bug when UTC plugin enabled ([#1201](https://github.com/iamkun/dayjs/issues/1201)) ([9544ed2](https://github.com/iamkun/dayjs/commit/9544ed2a6c466b8308d26b33a388a6737435a1f4)), closes [#1200](https://github.com/iamkun/dayjs/issues/1200)
* fix startOf/endOf bug in timezone plugin ([#1229](https://github.com/iamkun/dayjs/issues/1229)) ([eb5fbc4](https://github.com/iamkun/dayjs/commit/eb5fbc4c7d1b62a8615d2f263b404a9515d8e15c))
* fix utc plugin diff edge case ([#1187](https://github.com/iamkun/dayjs/issues/1187)) ([971b3d4](https://github.com/iamkun/dayjs/commit/971b3d40b4c9403165138f1034e2223cd97c3abf))
* update customParseFormat plugin to parse 2-digit offset ([#1209](https://github.com/iamkun/dayjs/issues/1209)) ([b56936a](https://github.com/iamkun/dayjs/commit/b56936ab77b8f6289a1b77d49307b495c4bf9f91)), closes [#1205](https://github.com/iamkun/dayjs/issues/1205)
* Update timezone plugin type definition ([#1221](https://github.com/iamkun/dayjs/issues/1221)) ([34cfb92](https://github.com/iamkun/dayjs/commit/34cfb920b9653ad44d4b31fe49e533692a3ce01b))

## [1.9.6](https://github.com/iamkun/dayjs/compare/v1.9.5...v1.9.6) (2020-11-10)


### Bug Fixes

* fix customParseFormat plugin parsing date bug ([#1198](https://github.com/iamkun/dayjs/issues/1198)) ([50f05ad](https://github.com/iamkun/dayjs/commit/50f05ad3addf27827c5657ae7519514e40d9faec)), closes [#1194](https://github.com/iamkun/dayjs/issues/1194)
* Update lv (Latvian) locale relative time ([#1192](https://github.com/iamkun/dayjs/issues/1192)) ([6d6c684](https://github.com/iamkun/dayjs/commit/6d6c6841b13ba4f7e69de92caf132a3592c5253a))

## [1.9.5](https://github.com/iamkun/dayjs/compare/v1.9.4...v1.9.5) (2020-11-05)


### Bug Fixes

* customParseFormat plugin supports parsing localizedFormats  ([#1110](https://github.com/iamkun/dayjs/issues/1110)) ([402b603](https://github.com/iamkun/dayjs/commit/402b603aa3ee4199786950bc88b3fdc6b527aa35))
* fix customParseFormat plugin parse meridiem bug ([#1169](https://github.com/iamkun/dayjs/issues/1169)) ([9e8f8d9](https://github.com/iamkun/dayjs/commit/9e8f8d96c69d557f4d267f42567c25ae9e7ab227)), closes [#1168](https://github.com/iamkun/dayjs/issues/1168)
* fix devHelper error in umd bundle in browser ([#1165](https://github.com/iamkun/dayjs/issues/1165)) ([d11b5ee](https://github.com/iamkun/dayjs/commit/d11b5ee7dc11af671355f65ccda00f6ba42cc725))
* fix utc plugin diff bug in DST ([#1171](https://github.com/iamkun/dayjs/issues/1171)) ([f8da3fe](https://github.com/iamkun/dayjs/commit/f8da3fe7e50c84c0502bf5be0b364910922dbd79)), closes [#1097](https://github.com/iamkun/dayjs/issues/1097) [#1021](https://github.com/iamkun/dayjs/issues/1021)
* isoWeek plugin type ([#1177](https://github.com/iamkun/dayjs/issues/1177)) ([c3d0436](https://github.com/iamkun/dayjs/commit/c3d0436b06f74989e3a2c751a5d170f8072c4aad))
* update localeData plugin to support meridiem ([#1174](https://github.com/iamkun/dayjs/issues/1174)) ([fdb09e4](https://github.com/iamkun/dayjs/commit/fdb09e4074cc7e8f6196846f18d3566c1f9e8fcd)), closes [#1172](https://github.com/iamkun/dayjs/issues/1172)
* update timezone plugin parse Date instance / timestamp logic & remove useless test ([#1183](https://github.com/iamkun/dayjs/issues/1183)) ([a7f858b](https://github.com/iamkun/dayjs/commit/a7f858bb70ad81f718ba35c479e84b54eace48b2))

## [1.9.4](https://github.com/iamkun/dayjs/compare/v1.9.3...v1.9.4) (2020-10-23)


### Bug Fixes

* Add descriptions to types ([#1148](https://github.com/iamkun/dayjs/issues/1148)) ([9a407a1](https://github.com/iamkun/dayjs/commit/9a407a140b089345a387d1aceab4d0d1635229c7))
* add devHelper plugin ([#1163](https://github.com/iamkun/dayjs/issues/1163)) ([de49dc8](https://github.com/iamkun/dayjs/commit/de49dc80c83b85de4170571b64412bd60ada221b))
* Fix Hungarian (hu) locale ([#1112](https://github.com/iamkun/dayjs/issues/1112)) ([ab13754](https://github.com/iamkun/dayjs/commit/ab13754f43c5033dacaa0eb2042dc4ab1a7a2754))
* fix minMax plugin parsing empty array bug ([#1062](https://github.com/iamkun/dayjs/issues/1062)) ([368108b](https://github.com/iamkun/dayjs/commit/368108bc6d5cb1542f711b8eba722bd4dfaab0cd))
* update adding/subtracting Duration from Dayjs object ([#1156](https://github.com/iamkun/dayjs/issues/1156)) ([f861aca](https://github.com/iamkun/dayjs/commit/f861acac3e83e28d3a4a96312c71119fd6b544fc))
* update en-NZ locale to use proper ordinal formatting function ([#1143](https://github.com/iamkun/dayjs/issues/1143)) ([fcdbc58](https://github.com/iamkun/dayjs/commit/fcdbc5880710456a29b2bacf250542230bf48b99))
* update localeData plugin type ([#1116](https://github.com/iamkun/dayjs/issues/1116)) ([ee5a4ec](https://github.com/iamkun/dayjs/commit/ee5a4ec41edddfb57d103c35182dc635c9264a10))
* update timezone plugin to support custom parse format ([#1160](https://github.com/iamkun/dayjs/issues/1160)) ([48cbf31](https://github.com/iamkun/dayjs/commit/48cbf3118ba5427de428777c2e025896db654f2e)), closes [#1159](https://github.com/iamkun/dayjs/issues/1159)
* update timezone plugin to support keepLocalTime ([#1161](https://github.com/iamkun/dayjs/issues/1161)) ([1d429e5](https://github.com/iamkun/dayjs/commit/1d429e5fe4467ebddcf81b43cf6f36e5e3be944c)), closes [#1149](https://github.com/iamkun/dayjs/issues/1149)

## [1.9.3](https://github.com/iamkun/dayjs/compare/v1.9.2...v1.9.3) (2020-10-13)


### Bug Fixes

* fix localizedFormat export error ([#1133](https://github.com/iamkun/dayjs/issues/1133)) ([deecd6a](https://github.com/iamkun/dayjs/commit/deecd6ab8a2f4173ee7046f6b568b41fd2677531)), closes [#1132](https://github.com/iamkun/dayjs/issues/1132)

## [1.9.2](https://github.com/iamkun/dayjs/compare/v1.9.1...v1.9.2) (2020-10-13)


### Bug Fixes

* add arraySupport plugin ([#1129](https://github.com/iamkun/dayjs/issues/1129)) ([be505c2](https://github.com/iamkun/dayjs/commit/be505c2c540261027342cecc55d8919a3d18d893))
* export type of duration plugin ([#1094](https://github.com/iamkun/dayjs/issues/1094)) ([2c92e71](https://github.com/iamkun/dayjs/commit/2c92e71bf55d09601120cdf433da7a19cc8abff6))
* Fix LocaleData plugin longDateFormat lowercase error ([#1101](https://github.com/iamkun/dayjs/issues/1101)) ([7937ccd](https://github.com/iamkun/dayjs/commit/7937ccdeac47d094a60e65ebb62a6020b81c46f4))
* Fix objectSupport plugin bug in UTC ([#1107](https://github.com/iamkun/dayjs/issues/1107)) ([fe90bb6](https://github.com/iamkun/dayjs/commit/fe90bb6944f2ff1969ca975954d303b449dfa95b)), closes [#1105](https://github.com/iamkun/dayjs/issues/1105)
* fix Serbian locale grammar (sr, sr-cyrl) ([#1108](https://github.com/iamkun/dayjs/issues/1108)) ([cc87eff](https://github.com/iamkun/dayjs/commit/cc87eff8b75b0d86ce0956516319d402bccae6c0))
* Fix typo for "monday" in arabic ([#1067](https://github.com/iamkun/dayjs/issues/1067)) ([2e1e426](https://github.com/iamkun/dayjs/commit/2e1e42650124f30282dc4d710798d576b928f1c7))
* support dayjs.add(Duration), dayjs.subtract(Duration) ([#1099](https://github.com/iamkun/dayjs/issues/1099)) ([b1a0294](https://github.com/iamkun/dayjs/commit/b1a02942c5238203aaa04ce9a074c73742324ab7))
* update Breton [br] locale relativeTime config ([#1103](https://github.com/iamkun/dayjs/issues/1103)) ([b038bfd](https://github.com/iamkun/dayjs/commit/b038bfdb128889d677c95534d2be29cc30c9e72f))
* update Catalan [ca] locale ordinal ([73da380](https://github.com/iamkun/dayjs/commit/73da38024c8b550bdcfbe3ff7e578e742c7aecf2))
* update German [de] locale relativeTime config ([#1109](https://github.com/iamkun/dayjs/issues/1109)) ([f6e771b](https://github.com/iamkun/dayjs/commit/f6e771b70f93d19ebb12e6b794aa4628a1796248))
* update localeData plugin to add longDateFormat to global localeData ([#1106](https://github.com/iamkun/dayjs/issues/1106)) ([16937d1](https://github.com/iamkun/dayjs/commit/16937d16e053b8c1d4a607622fa2fdbfd9809832))
* Update objectSupport plugin to return current date time while parsing empty object ([f56783e](https://github.com/iamkun/dayjs/commit/f56783e14d8cf50916b015e7188b23bb6fbca839))

## [1.9.1](https://github.com/iamkun/dayjs/compare/v1.9.0...v1.9.1) (2020-09-28)


### Bug Fixes

* Fix objectSupport plugin to get the correct result (zero-based month) ([#1089](https://github.com/iamkun/dayjs/issues/1089)) ([f95ac15](https://github.com/iamkun/dayjs/commit/f95ac15a4577ae5a3d1ce353872a2cd9fc454bc2))

# [1.9.0](https://github.com/iamkun/dayjs/compare/v1.8.36...v1.9.0) (2020-09-28)


### Bug Fixes

* Add `setDefault` typing to timezone.d.ts ([#1057](https://github.com/iamkun/dayjs/issues/1057)) ([c0f0886](https://github.com/iamkun/dayjs/commit/c0f088620f17260e6e3ebce7697d561b5623f5f3))
* fix DST bug in utc plugin ([#1053](https://github.com/iamkun/dayjs/issues/1053)) ([3d73543](https://github.com/iamkun/dayjs/commit/3d7354361f042ced1176d91f9ae9edffe6173425))
* Fix optional type for timezone plugin ([#1081](https://github.com/iamkun/dayjs/issues/1081)) ([a6ebcf2](https://github.com/iamkun/dayjs/commit/a6ebcf283a83273562dce5663155e3b3a12ea9a5)), closes [#1079](https://github.com/iamkun/dayjs/issues/1079)
* Fix timezone plugin conversion bug ([#1073](https://github.com/iamkun/dayjs/issues/1073)) ([16816a3](https://github.com/iamkun/dayjs/commit/16816a31ff43220aca9d1d179df6b729182abb55))
* update duration plugin type file ([#1065](https://github.com/iamkun/dayjs/issues/1065)) ([94af9af](https://github.com/iamkun/dayjs/commit/94af9af27c5bc182cbb24f1845e561dd1d82d776))
* update timezone plugin to support getting offset name e.g. EST ([#1069](https://github.com/iamkun/dayjs/issues/1069)) ([cbb755e](https://github.com/iamkun/dayjs/commit/cbb755e5c68d49c5678291f3ce832b32831a056e))
* update utc plugin to support keepLocalTime `.utc(true)` ([#1080](https://github.com/iamkun/dayjs/issues/1080)) ([5ce4e0d](https://github.com/iamkun/dayjs/commit/5ce4e0d2f552f3645262537ff7afdc946f5a7e72))


### Features

* Correct casing for en-sg locale name ([#1048](https://github.com/iamkun/dayjs/issues/1048)) ([2edaddc](https://github.com/iamkun/dayjs/commit/2edaddc22a7eb914f915531f389766217acd7034))

## [1.8.36](https://github.com/iamkun/dayjs/compare/v1.8.35...v1.8.36) (2020-09-17)


### Bug Fixes

* Add Amharic (am) locale ([#1046](https://github.com/iamkun/dayjs/issues/1046)) ([cdc49a1](https://github.com/iamkun/dayjs/commit/cdc49a1911c74b7ea96ed222f42796d53715cfed))
* Export Duration type in duration plugin ([#1043](https://github.com/iamkun/dayjs/issues/1043)) ([0f20c3a](https://github.com/iamkun/dayjs/commit/0f20c3ac75d9ac1026a15a7bb343d3a150d9b30f))
* Fix duration plugin parsing milliseconds bug ([#1042](https://github.com/iamkun/dayjs/issues/1042)) ([fe2301b](https://github.com/iamkun/dayjs/commit/fe2301b22318886aaa89ed1620e0a118e98c2b8a))
* Timezone plugin set default timezone ([#1033](https://github.com/iamkun/dayjs/issues/1033)) ([0c2050a](https://github.com/iamkun/dayjs/commit/0c2050a152da708b01edd6150a5013f642b14576))
* Timezone plugin should have the same behavior in latest ICU version ([#1032](https://github.com/iamkun/dayjs/issues/1032)) ([de31592](https://github.com/iamkun/dayjs/commit/de315921575cc50c38464b27d0338e30a54d8e2a))
* Update Finnish (fi) locale ([#963](https://github.com/iamkun/dayjs/issues/963)) ([cf8b6a0](https://github.com/iamkun/dayjs/commit/cf8b6a096f24b54cbdb95675ac386d8ac85ea616))
* Update Polish (pl) , Hungarian (hr) and Lithuanian (lt) localization ([#1045](https://github.com/iamkun/dayjs/issues/1045)) ([638fd39](https://github.com/iamkun/dayjs/commit/638fd394fc24f4188390faf387da6b156e7c6320))

## [1.8.35](https://github.com/iamkun/dayjs/compare/v1.8.34...v1.8.35) (2020-09-02)


### Bug Fixes

* Fix BadMutable plugin bug in .diff ([#1023](https://github.com/iamkun/dayjs/issues/1023)) ([40ab6d9](https://github.com/iamkun/dayjs/commit/40ab6d9a53e8047cfca63c611c25dd045372d021))
* fix LocaleData plugin to support instance.weekdays() API ([#1019](https://github.com/iamkun/dayjs/issues/1019)) ([a09d259](https://github.com/iamkun/dayjs/commit/a09d259a407b81d1cb6bb5623fad551c775d8674)), closes [#1017](https://github.com/iamkun/dayjs/issues/1017)
* Update Dutch (nl) locale to set correct yearStart ([1533a2c](https://github.com/iamkun/dayjs/commit/1533a2cc1475270032da2d87b19fc3d62327e6e3))

## [1.8.34](https://github.com/iamkun/dayjs/compare/v1.8.33...v1.8.34) (2020-08-20)


### Bug Fixes

* Fix Timezone plugin to preserve milliseconds while changing timezone ([#1003](https://github.com/iamkun/dayjs/issues/1003)) ([5f446ed](https://github.com/iamkun/dayjs/commit/5f446eda770fa97e895c81a8195b3ba5d082cef0)), closes [#1002](https://github.com/iamkun/dayjs/issues/1002)
* support parsing unlimited decimals of millisecond ([#1010](https://github.com/iamkun/dayjs/issues/1010)) ([d1bdd36](https://github.com/iamkun/dayjs/commit/d1bdd36a56e3d1786523a180e3fc18068f609135)), closes [#544](https://github.com/iamkun/dayjs/issues/544)
* update Duration plugin to support global locale ([#1008](https://github.com/iamkun/dayjs/issues/1008)) ([1c49c83](https://github.com/iamkun/dayjs/commit/1c49c83e79811eede13db6372b5d65db598aee77)), closes [#1007](https://github.com/iamkun/dayjs/issues/1007)

## [1.8.33](https://github.com/iamkun/dayjs/compare/v1.8.32...v1.8.33) (2020-08-10)


### Bug Fixes

* Add PluralGetSet plugin for plural getters/setters ([#996](https://github.com/iamkun/dayjs/issues/996)) ([f76e3ce](https://github.com/iamkun/dayjs/commit/f76e3ce2fbe5d3e9ed9121086baf55eb0cc4d355))
* Add typescript type defs in esm build ([#985](https://github.com/iamkun/dayjs/issues/985)) ([50e3b3c](https://github.com/iamkun/dayjs/commit/50e3b3c6719cb0b4ec6eff394dacd63d5db8f253))
* Fix isoWeek Plugin cal bug in UTC mode ([#993](https://github.com/iamkun/dayjs/issues/993)) ([f2e5f32](https://github.com/iamkun/dayjs/commit/f2e5f327aaf12b4572296ec6e107ecc05fcf76e7))
* Fix Timezone plugin parsing js date, Day.js object, timestamp bug && update type file ([#994](https://github.com/iamkun/dayjs/issues/994)) ([22f3d49](https://github.com/iamkun/dayjs/commit/22f3d49405da98db6da56d1673eebcd01b57554b)), closes [#992](https://github.com/iamkun/dayjs/issues/992) [#989](https://github.com/iamkun/dayjs/issues/989)
* Fix Timezone plugin UTCOffset rounding bug ([#987](https://github.com/iamkun/dayjs/issues/987)) ([b07182b](https://github.com/iamkun/dayjs/commit/b07182bbdf5aef7f6bf1e88fcd38432e2b8ee465)), closes [#986](https://github.com/iamkun/dayjs/issues/986)
* Fix UTC plugin bug while comparing an utc instance to a local one ([#995](https://github.com/iamkun/dayjs/issues/995)) ([747c0fb](https://github.com/iamkun/dayjs/commit/747c0fb4eba6353755b5dad3417fd8d5a408c378))
* Update pt-br locale weekStart 0 ([#984](https://github.com/iamkun/dayjs/issues/984)) ([0f881c1](https://github.com/iamkun/dayjs/commit/0f881c18efb02b9d0ba7f76cba92bb504226fa95))

## [1.8.32](https://github.com/iamkun/dayjs/compare/v1.8.31...v1.8.32) (2020-08-04)


### Bug Fixes

* Add Experimental Timezone Plugin ([#974](https://github.com/iamkun/dayjs/issues/974)) ([e69caba](https://github.com/iamkun/dayjs/commit/e69caba1b0957241a855aa0ae38db899fa2c3795))
* fix parse date string error e.g. '2020/9/30' ([#980](https://github.com/iamkun/dayjs/issues/980)) ([231790d](https://github.com/iamkun/dayjs/commit/231790da62af0494732960c2c50d86ae9bf63ec6)), closes [#979](https://github.com/iamkun/dayjs/issues/979)
* update monthDiff function to get more accurate results ([19e8a7f](https://github.com/iamkun/dayjs/commit/19e8a7f2f7582b717f49d446822e39603694433c))
* Update UTC plugin to support keepLocalTime ([#973](https://github.com/iamkun/dayjs/issues/973)) ([9f488e5](https://github.com/iamkun/dayjs/commit/9f488e5aca92f0b4c2951459436829d79f86d8d7))

## [1.8.31](https://github.com/iamkun/dayjs/compare/v1.8.30...v1.8.31) (2020-07-29)


### Bug Fixes

* Rollback LocalePresetType to string ([#968](https://github.com/iamkun/dayjs/issues/968)) ([b342bd3](https://github.com/iamkun/dayjs/commit/b342bd3d84987d6c7587a0c4590d614fb0e670d7))
* Update Regex to parse 'YYYY' correctly ([#969](https://github.com/iamkun/dayjs/issues/969)) ([70c1239](https://github.com/iamkun/dayjs/commit/70c123990dcc6bd479fa2b5d7f9985127872a826))

## [1.8.30](https://github.com/iamkun/dayjs/compare/v1.8.29...v1.8.30) (2020-07-22)


### Bug Fixes

* Add Haitian Creole (ht) and Spanish Puerto Rico (es-pr) locale configs ([#958](https://github.com/iamkun/dayjs/issues/958)) ([b2642e2](https://github.com/iamkun/dayjs/commit/b2642e2d1f87734a34808c66e5176cb18bc0414d))
* Fix UTC plugin wrong hour bug while adding month or year  ([#957](https://github.com/iamkun/dayjs/issues/957)) ([28ae070](https://github.com/iamkun/dayjs/commit/28ae070024ff26685c88ce4cc8747307e86923c9))
* Update French (fr) locale to set correct yearStart ([14ab808](https://github.com/iamkun/dayjs/commit/14ab808a7b7e226f2eb2cbe894916a18ed5d967d)), closes [#956](https://github.com/iamkun/dayjs/issues/956)

## [1.8.29](https://github.com/iamkun/dayjs/compare/v1.8.28...v1.8.29) (2020-07-02)


### Bug Fixes

* Duration plugin supports parse ISO string with week (W) ([#950](https://github.com/iamkun/dayjs/issues/950)) ([f0fc12a](https://github.com/iamkun/dayjs/commit/f0fc12adadcab53fb0577ad8f5e2f1cf784fd8f5))
* LocaleData plugin supports locale order ([#938](https://github.com/iamkun/dayjs/issues/938)) ([62f429d](https://github.com/iamkun/dayjs/commit/62f429db73a0a069b1267231dea172b85f4b90e3)), closes [#936](https://github.com/iamkun/dayjs/issues/936)
* Update type definition to support array format ([#945](https://github.com/iamkun/dayjs/issues/945)) ([81d4740](https://github.com/iamkun/dayjs/commit/81d4740511d47e34f891b21afeb0449ef8a28688)), closes [#944](https://github.com/iamkun/dayjs/issues/944)
* Update type definition to support strict mode ([#951](https://github.com/iamkun/dayjs/issues/951)) ([8d54f3f](https://github.com/iamkun/dayjs/commit/8d54f3f7d4d161e72c767fa09699e70a2b3d681c))

## [1.8.28](https://github.com/iamkun/dayjs/compare/v1.8.27...v1.8.28) (2020-05-28)


### Bug Fixes

* Fix CustomParseFormat plugin month index error ([#918](https://github.com/iamkun/dayjs/issues/918)) ([fa2ec7f](https://github.com/iamkun/dayjs/commit/fa2ec7fcb980dcd2c7498dafe2f9ca2e52d735cf)), closes [#915](https://github.com/iamkun/dayjs/issues/915)
* Update Ukrainian (uk) locale monthFormat and monthStandalone ([#899](https://github.com/iamkun/dayjs/issues/899)) ([a08756e](https://github.com/iamkun/dayjs/commit/a08756e80bd1d7126fca28c5ad9e382613fc86c4))

## [1.8.27](https://github.com/iamkun/dayjs/compare/v1.8.26...v1.8.27) (2020-05-14)


### Bug Fixes

* Add Kinyarwanda (rw) locale ([#903](https://github.com/iamkun/dayjs/issues/903)) ([f355235](https://github.com/iamkun/dayjs/commit/f355235a836540d77880959fb1b614c87e9f7b3e))
* Add plugin objectSupport ([#887](https://github.com/iamkun/dayjs/issues/887)) ([52dfb13](https://github.com/iamkun/dayjs/commit/52dfb13a6b84f0a753cc5761192b92416f440961))
* Add Turkmen (tk) locale ([#893](https://github.com/iamkun/dayjs/issues/893)) ([a9ca8dc](https://github.com/iamkun/dayjs/commit/a9ca8dcbbd0964c5b9abb4e8a2d620c983cf091a))
* Fix CustomParseFormat plugin set locale error ([#896](https://github.com/iamkun/dayjs/issues/896)) ([8035c8a](https://github.com/iamkun/dayjs/commit/8035c8a760549b631252252718db3cdc4ab2f68f))
* Fix locale month function bug ([#908](https://github.com/iamkun/dayjs/issues/908)) ([bf347c3](https://github.com/iamkun/dayjs/commit/bf347c36e401f50727fb5afcc537497b54b90d6b))
* Update CustomParseFormat plugin to support Array formats ([#906](https://github.com/iamkun/dayjs/issues/906)) ([97856c6](https://github.com/iamkun/dayjs/commit/97856c603ef5fbbeb1cf8a42387479e56a77dbe8))

## [1.8.26](https://github.com/iamkun/dayjs/compare/v1.8.25...v1.8.26) (2020-04-30)


### Bug Fixes

* Fix Duration plugin `.toISOString` format bug ([#889](https://github.com/iamkun/dayjs/issues/889)) ([058d624](https://github.com/iamkun/dayjs/commit/058d624808fd2be024ae846bcb2e03885f39b556)), closes [#888](https://github.com/iamkun/dayjs/issues/888)
* Fix WeekOfYear plugin bug while using BadMutable plugin ([#884](https://github.com/iamkun/dayjs/issues/884)) ([2977438](https://github.com/iamkun/dayjs/commit/2977438458542573a4500e21f7ba5d1f8442960e))
* Update CustomParseFormat plugin strict mode ([#882](https://github.com/iamkun/dayjs/issues/882)) ([db642ac](https://github.com/iamkun/dayjs/commit/db642ac73e52e00d8c41546b2935c9e691cf66e0))
* Update RelativeTime plugin default config ([#883](https://github.com/iamkun/dayjs/issues/883)) ([0606f42](https://github.com/iamkun/dayjs/commit/0606f425aef8ccbfc3da3e43cba368130603b0cc))

## [1.8.25](https://github.com/iamkun/dayjs/compare/v1.8.24...v1.8.25) (2020-04-21)


### Bug Fixes

* Fix CustomParseFormat plugin of parsing only YYYY / YYYY-MM bug ([#873](https://github.com/iamkun/dayjs/issues/873)) ([3cea04d](https://github.com/iamkun/dayjs/commit/3cea04d33d54d44bbdd3d026b5c7f67ebf176116)), closes [#849](https://github.com/iamkun/dayjs/issues/849)
* Fix Duration plugin get seconds ([#867](https://github.com/iamkun/dayjs/issues/867)) ([62b092d](https://github.com/iamkun/dayjs/commit/62b092d9f9a3db5506ef01f798bdf211f163f53f))
* Fix type definition of locale ([9790b85](https://github.com/iamkun/dayjs/commit/9790b853e6113243a7f4a81dd12c6509e406a102))
* Fix UTC plugin startOf, endOf bug ([#872](https://github.com/iamkun/dayjs/issues/872)) ([4141084](https://github.com/iamkun/dayjs/commit/4141084ba96d35cadcda3f1e661bf1d0f6c8e4de)), closes [#809](https://github.com/iamkun/dayjs/issues/809) [#808](https://github.com/iamkun/dayjs/issues/808)

## [1.8.24](https://github.com/iamkun/dayjs/compare/v1.8.23...v1.8.24) (2020-04-10)


### Bug Fixes

* Add config option to RelativeTime plugin ([#851](https://github.com/iamkun/dayjs/issues/851)) ([bd24034](https://github.com/iamkun/dayjs/commit/bd24034b95bfc656024b75ef3f3c986708845fed))
* add Duration plugin ([#858](https://github.com/iamkun/dayjs/issues/858)) ([d568273](https://github.com/iamkun/dayjs/commit/d568273223199ca0497f238e2cc3a8d3dcf32d0f))
* Add en-in, en-tt locales ([#855](https://github.com/iamkun/dayjs/issues/855)) ([c39fb96](https://github.com/iamkun/dayjs/commit/c39fb96e2a9102c14b004c14a6c073af9d266f2f))
* add isToday, isTomorrow, isYesterday plugins ([#857](https://github.com/iamkun/dayjs/issues/857)) ([fc08ab6](https://github.com/iamkun/dayjs/commit/fc08ab68f8a28269802deeab9d6b0473b92cdc51))
* Add option callback to Calendar plugin ([#839](https://github.com/iamkun/dayjs/issues/839)) ([b25be90](https://github.com/iamkun/dayjs/commit/b25be9094325295310c8fc5e617fb058be8a5f68))
* Fix monthsShort for locale fr ([#862](https://github.com/iamkun/dayjs/issues/862)) ([d2de9a0](https://github.com/iamkun/dayjs/commit/d2de9a0b44b830038ed0094f79bfd40726311f2a))
* Update Breton locale (br) meridiem config ([#856](https://github.com/iamkun/dayjs/issues/856)) ([a2a6672](https://github.com/iamkun/dayjs/commit/a2a66720abb788a8f1cffbfd0929b35579f29c72))
* Update Ukrainian (uk) locale relative time ([#842](https://github.com/iamkun/dayjs/issues/842)) ([578bc1a](https://github.com/iamkun/dayjs/commit/578bc1a23c6e737783bbac3da12c0ed5d1edcf82))

## [1.8.23](https://github.com/iamkun/dayjs/compare/v1.8.22...v1.8.23) (2020-03-16)


### Bug Fixes

* Add Chinese (zh) locale ([f9b8945](https://github.com/iamkun/dayjs/commit/f9b89453166d8b53d33b1d7eefd9942022552e6e))
* Fix IsoWeek plugin typescript definition ([#828](https://github.com/iamkun/dayjs/issues/828)) ([30aab0c](https://github.com/iamkun/dayjs/commit/30aab0c7bce85dfac0ae208a891def30f88b5cb4))
* Update Arabic (ar) locale relative time ([#836](https://github.com/iamkun/dayjs/issues/836)) ([14044c6](https://github.com/iamkun/dayjs/commit/14044c6fda1229e3f0e5473d3f886bd79589b15f))
* Update Slovak (sk) locale,  Czech (cs) locale ([#833](https://github.com/iamkun/dayjs/issues/833)) ([f0d451f](https://github.com/iamkun/dayjs/commit/f0d451f795e9ebf752cd854d51b25b11de2343a3))
* Update Thai (th) locale relativeTime ([#826](https://github.com/iamkun/dayjs/issues/826)) ([63b7c03](https://github.com/iamkun/dayjs/commit/63b7c03a6dbb0507d60776e8bad6cccde3828b88)), closes [#816](https://github.com/iamkun/dayjs/issues/816)

## [1.8.22](https://github.com/iamkun/dayjs/compare/v1.8.21...v1.8.22) (2020-03-08)


### Bug Fixes

* Add IsoWeek plugin ([#811](https://github.com/iamkun/dayjs/issues/811)) ([28a2207](https://github.com/iamkun/dayjs/commit/28a2207ef9849afbac15dd29267b2e7a09cd3c16))
* Fix unsupported locale fallback to previous one ([#819](https://github.com/iamkun/dayjs/issues/819)) ([4868715](https://github.com/iamkun/dayjs/commit/48687152cf5bee6a4c1b8ceea4bda8b9bab9be10))

## [1.8.21](https://github.com/iamkun/dayjs/compare/v1.8.20...v1.8.21) (2020-02-26)


### Bug Fixes

* Set + Get accept 'D' as the short version of 'date' ([#795](https://github.com/iamkun/dayjs/issues/795)) ([523c038](https://github.com/iamkun/dayjs/commit/523c03880fa8bbad83214494ad02cd606cdb8b30))
* Update DayOfYear plugin type ([#799](https://github.com/iamkun/dayjs/issues/799)) ([5809652](https://github.com/iamkun/dayjs/commit/5809652e40245b7759827d9bf317abdcfa75a330))
* Update fi (Finnish) locale relativeTime ([#797](https://github.com/iamkun/dayjs/issues/797)) ([4a470fb](https://github.com/iamkun/dayjs/commit/4a470fbd6fef9e051727d0f26d53cc050b85935d))

## [1.8.20](https://github.com/iamkun/dayjs/compare/v1.8.19...v1.8.20) (2020-02-04)


### Bug Fixes

* Add Bislama Locale (bi) ([#780](https://github.com/iamkun/dayjs/issues/780)) ([9ac6ab4](https://github.com/iamkun/dayjs/commit/9ac6ab481bc883dd4ecc02caab12c8b2fc218a42))
* Fix weekOfYear plugin to support yearStart locale for better week number result ([#769](https://github.com/iamkun/dayjs/issues/769)) ([f00db36](https://github.com/iamkun/dayjs/commit/f00db36e70bc7beaca1abadeb30a9b1fbb3261ee))
* Update et (Estonian) locale relativeTime ([#790](https://github.com/iamkun/dayjs/issues/790)) ([d8e0f45](https://github.com/iamkun/dayjs/commit/d8e0f45f6cd2d5e5704b9797929227454c92d1a5))
* Update LocaleData plugin to support dayjs.localeData().weekdays() API ([287fed6](https://github.com/iamkun/dayjs/commit/287fed6db9eb4fd979b4861aca4dacbd32422533)), closes [#779](https://github.com/iamkun/dayjs/issues/779)
* Update LocaleData plugin to support dayjs.months dayjs.weekdays API ([144c2ae](https://github.com/iamkun/dayjs/commit/144c2ae6e15fbf89e3acd7c8cb9e237c5f6e1348)), closes [#779](https://github.com/iamkun/dayjs/issues/779)
* Update pl locale fusional config ([d372475](https://github.com/iamkun/dayjs/commit/d3724758bb27d5b17587b995ba14e7e80dcd1151))

## [1.8.19](https://github.com/iamkun/dayjs/compare/v1.8.18...v1.8.19) (2020-01-06)


### Bug Fixes

* Add UpdateLocale plugin to update a locale's properties ([#766](https://github.com/iamkun/dayjs/issues/766)) ([82ce2ba](https://github.com/iamkun/dayjs/commit/82ce2ba8d7e402e40f6d005d400eb5356a0b0633))
* Fix CustomParseFormat Plugin 'YYYY-MM' use first day of the month ([ba709ec](https://github.com/iamkun/dayjs/commit/ba709eca86a71ae648bc68bf67d9abdc229198d4)), closes [#761](https://github.com/iamkun/dayjs/issues/761)
* Fix CustomParseFormat Plugin to set correct locale ([66ce23f](https://github.com/iamkun/dayjs/commit/66ce23f2e18c5506e8f1a7ef20d3483a4df80087))
* Fix WeekOfYear Plugin wrong calender week number bug ([79b86db](https://github.com/iamkun/dayjs/commit/79b86dbbf3cfd3f1e2165b3d479a7061ad1b6925)), closes [#760](https://github.com/iamkun/dayjs/issues/760)
* Update RelativeTime plugin to support function to make additional processing ([#767](https://github.com/iamkun/dayjs/issues/767)) ([4bd9250](https://github.com/iamkun/dayjs/commit/4bd9250fbe7131e2fddfb5fa1b3350e8c2262ca9))
* Update ru, uk, cs locale to support relativeTime with plural ([3f080f7](https://github.com/iamkun/dayjs/commit/3f080f7d6bfdc4018cbb7c4d0112ff1ead4ef6b8))

## [1.8.18](https://github.com/iamkun/dayjs/compare/v1.8.17...v1.8.18) (2019-12-18)


### Bug Fixes

* Add missing locale type definition ([#716](https://github.com/iamkun/dayjs/issues/716)) ([cde5d0b](https://github.com/iamkun/dayjs/commit/cde5d0b91be7b2f5f3098de4aa0b9a4f0f28ea5c))
* Fix .locale() handel unsupported locale ([78ec173](https://github.com/iamkun/dayjs/commit/78ec173fcecc1299516ab7b44f4554d431b4b2fd))
* Update Italian locale (it) ([#727](https://github.com/iamkun/dayjs/issues/727)) ([5b53e98](https://github.com/iamkun/dayjs/commit/5b53e98c0a3ba0eb9573a9c77caeb907439be9e7))
* Update locale (fa) ([#733](https://github.com/iamkun/dayjs/issues/733)) ([9ad2e47](https://github.com/iamkun/dayjs/commit/9ad2e47e0569b23991bb0d5578f49c792c12df08))
* Update locale (zh-cn) ([#706](https://github.com/iamkun/dayjs/issues/706)) ([e31e544](https://github.com/iamkun/dayjs/commit/e31e54414fb90e1f54da13a117748ba37f52645d))
* Update locale (zh-cn) meridiem ([#735](https://github.com/iamkun/dayjs/issues/735)) ([15d1b81](https://github.com/iamkun/dayjs/commit/15d1b813e7faf5a1f9d1ea6fc673fd27ac49d8b1))
* Update LocaleData plugin to support dayjs().longDateFormat() ([#734](https://github.com/iamkun/dayjs/issues/734)) ([aa0f210](https://github.com/iamkun/dayjs/commit/aa0f210a1e3c4f6aba61c3b96f9eb445b43a33f0)), closes [#680](https://github.com/iamkun/dayjs/issues/680)
* Update Mongolian (mn) locale relativeTime ([#753](https://github.com/iamkun/dayjs/issues/753)) ([6d51435](https://github.com/iamkun/dayjs/commit/6d51435092c0c94d8e50256d3f0f058cdd15febe))
* Update Swedish locale (sv) fix ordinal error ([#745](https://github.com/iamkun/dayjs/issues/745)) ([49670d5](https://github.com/iamkun/dayjs/commit/49670d5ae31e4e21636cc5a8bfe35fef0f6d9e4a)), closes [#743](https://github.com/iamkun/dayjs/issues/743)

## [1.8.17](https://github.com/iamkun/dayjs/compare/v1.8.16...v1.8.17) (2019-11-06)


### Bug Fixes

* Fix set utcOffset in utc mode ([d148115](https://github.com/iamkun/dayjs/commit/d148115dad8f1a5afc0a64e9b8163dfeba4616b6))
* Update advancedFormat plugin to support w ww wo week tokens … ([#678](https://github.com/iamkun/dayjs/issues/678)) ([26cfa63](https://github.com/iamkun/dayjs/commit/26cfa63a524b803f7966dac5464f9cbf8f63387e)), closes [#676](https://github.com/iamkun/dayjs/issues/676)
* Update ka locale weekdays ([f8ca3d4](https://github.com/iamkun/dayjs/commit/f8ca3d4ba1d3cbe41613d3909c0627935a51a0c4))
* Update nb locale ([#679](https://github.com/iamkun/dayjs/issues/679)) ([1063b0e](https://github.com/iamkun/dayjs/commit/1063b0e1b5c19a1354d233cc0f21438e7073233a))
* Update Polish locale (pl)([#713](https://github.com/iamkun/dayjs/issues/713)) ([30d2f02](https://github.com/iamkun/dayjs/commit/30d2f026b47188833a4f44fee4bab52467d4a718))
* Update Ukrainian locale (uk) ([#710](https://github.com/iamkun/dayjs/issues/710)) ([360161c](https://github.com/iamkun/dayjs/commit/360161cac75f597fdd51d9d1ff138601282a1b4b))
* UTC plugin set utcOffset value ([#668](https://github.com/iamkun/dayjs/issues/668)) ([8877883](https://github.com/iamkun/dayjs/commit/88778838e71dd309e79cd1a8094d5bea36ca3390))

## [1.8.16](https://github.com/iamkun/dayjs/compare/v1.8.15...v1.8.16) (2019-08-27)


### Bug Fixes

* Fix relativeTime Plugin .FromNow() result error in UTC mode ([a385d5c](https://github.com/iamkun/dayjs/commit/a385d5c))
* Handle locale in WeekOfYear plugin ([#658](https://github.com/iamkun/dayjs/issues/658)) ([0e45b0a](https://github.com/iamkun/dayjs/commit/0e45b0a))
* LocaleData plugin returns all months and weekdays data when pas no argument ([#645](https://github.com/iamkun/dayjs/issues/645)) ([95e70b4](https://github.com/iamkun/dayjs/commit/95e70b4))
* Return null in toJSON if not valid ([#633](https://github.com/iamkun/dayjs/issues/633)) ([19affc8](https://github.com/iamkun/dayjs/commit/19affc8))
* Update Danish (da) locale ([#626](https://github.com/iamkun/dayjs/issues/626)) ([ac2ec77](https://github.com/iamkun/dayjs/commit/ac2ec77))
* Update Korean locale meridiem ([#642](https://github.com/iamkun/dayjs/issues/642)) ([b457146](https://github.com/iamkun/dayjs/commit/b457146))
* update Occitan locale Catalan locale ([#630](https://github.com/iamkun/dayjs/issues/630)) ([fef135e](https://github.com/iamkun/dayjs/commit/fef135e))
* update pt-br locale ([#628](https://github.com/iamkun/dayjs/issues/628)) ([ccf596d](https://github.com/iamkun/dayjs/commit/ccf596d))
* Update weekdaysShort to some locale files ([#643](https://github.com/iamkun/dayjs/issues/643)) ([cc1f15f](https://github.com/iamkun/dayjs/commit/cc1f15f))

## [1.8.15](https://github.com/iamkun/dayjs/compare/v1.8.14...v1.8.15) (2019-07-08)


### Bug Fixes

* Fix dayjs.locale() returns current global locale ([#602](https://github.com/iamkun/dayjs/issues/602)) ([790cd1a](https://github.com/iamkun/dayjs/commit/790cd1a))
* Fix incorrect Thai locale translation of July ([#607](https://github.com/iamkun/dayjs/issues/607)) ([43cbfd3](https://github.com/iamkun/dayjs/commit/43cbfd3))
* Lowercase french locale months and weekdays ([#615](https://github.com/iamkun/dayjs/issues/615)) ([e5a257c](https://github.com/iamkun/dayjs/commit/e5a257c))
* Type - Export Ls object to query all available locales ([#623](https://github.com/iamkun/dayjs/issues/623)) ([f6bfae0](https://github.com/iamkun/dayjs/commit/f6bfae0))
* Update  nb (Norsk Bokmål) locale ([#604](https://github.com/iamkun/dayjs/issues/604)) ([907f5c9](https://github.com/iamkun/dayjs/commit/907f5c9))
* Update types of `.diff` API ([#617](https://github.com/iamkun/dayjs/issues/617)) ([f0f43d2](https://github.com/iamkun/dayjs/commit/f0f43d2))

## [1.8.14](https://github.com/iamkun/dayjs/compare/v1.8.13...v1.8.14) (2019-05-07)


### Bug Fixes

* Fix `.format` API returns UTC offset when value is 0 bug ([b254964](https://github.com/iamkun/dayjs/commit/b254964))
* Fix QuarterOfYear plugin bug ([#591](https://github.com/iamkun/dayjs/issues/591)) ([434f774](https://github.com/iamkun/dayjs/commit/434f774))
* Fix UTC plugin add day DST bug ([#590](https://github.com/iamkun/dayjs/issues/590)) ([86cd839](https://github.com/iamkun/dayjs/commit/86cd839))

## [1.8.13](https://github.com/iamkun/dayjs/compare/v1.8.12...v1.8.13) (2019-04-26)


### Bug Fixes

* Add missing relativeTime and formats for some locales ([#560](https://github.com/iamkun/dayjs/issues/560)) ([96b917e](https://github.com/iamkun/dayjs/commit/96b917e))
* Add weekday (locale aware day of the week) plugin ([#569](https://github.com/iamkun/dayjs/issues/569)) ([9007cc5](https://github.com/iamkun/dayjs/commit/9007cc5)), closes [#559](https://github.com/iamkun/dayjs/issues/559)
* Allow customizing "am" / "pm" strings with locale meridiem function ([#580](https://github.com/iamkun/dayjs/issues/580)) ([576e93e](https://github.com/iamkun/dayjs/commit/576e93e)), closes [#578](https://github.com/iamkun/dayjs/issues/578)
* Fix `.add` day/week decimal rouding bug ([800f6c9](https://github.com/iamkun/dayjs/commit/800f6c9))
* Fix `.diff` type definition error ([#565](https://github.com/iamkun/dayjs/issues/565)) ([c4921ae](https://github.com/iamkun/dayjs/commit/c4921ae)), closes [#561](https://github.com/iamkun/dayjs/issues/561)
* Fix CustomParseFormat plugin bug ([#568](https://github.com/iamkun/dayjs/issues/568)) ([1f5a9db](https://github.com/iamkun/dayjs/commit/1f5a9db)), closes [#555](https://github.com/iamkun/dayjs/issues/555)
* Fix relativeTime plugin Math.round bug ([40bea40](https://github.com/iamkun/dayjs/commit/40bea40))
* skip square brackets in  buddhistEra, advancedFormat plugins ([#556](https://github.com/iamkun/dayjs/issues/556)) ([9279718](https://github.com/iamkun/dayjs/commit/9279718)), closes [#554](https://github.com/iamkun/dayjs/issues/554)
* Update Indonesian locale([#574](https://github.com/iamkun/dayjs/issues/574)) ([0aa7143](https://github.com/iamkun/dayjs/commit/0aa7143))
* Update locale month to support both array and function ([#581](https://github.com/iamkun/dayjs/issues/581)) ([b6599d3](https://github.com/iamkun/dayjs/commit/b6599d3))
* Update LocalizedFormat plugin lowercase formats logic ([#557](https://github.com/iamkun/dayjs/issues/557)) ([d409304](https://github.com/iamkun/dayjs/commit/d409304))

## [1.8.12](https://github.com/iamkun/dayjs/compare/v1.8.11...v1.8.12) (2019-04-02)


### Bug Fixes

* Add .get API ([7318797](https://github.com/iamkun/dayjs/commit/7318797))
* Add 79 locales ([#541](https://github.com/iamkun/dayjs/issues/541)) ([f75a125](https://github.com/iamkun/dayjs/commit/f75a125))
* Add Calendar plugin ([d1b9cf9](https://github.com/iamkun/dayjs/commit/d1b9cf9))
* Add isoWeeksInYear plugin ([2db8631](https://github.com/iamkun/dayjs/commit/2db8631))
* Add Occitan (oc-lnc) locale file ([#551](https://github.com/iamkun/dayjs/issues/551)) ([c30b715](https://github.com/iamkun/dayjs/commit/c30b715))
* Add plugin minMax to sopport .max .min ([2870a23](https://github.com/iamkun/dayjs/commit/2870a23))
* Fix set Month Year error in last day of the month ([d058f4a](https://github.com/iamkun/dayjs/commit/d058f4a))
* Update ko locale weekdaysShort  ([#543](https://github.com/iamkun/dayjs/issues/543)) ([317fd3e](https://github.com/iamkun/dayjs/commit/317fd3e))
* Update localizedFormat plugin to support lowercase localizable formats (l, ll, lll, llll) ([#546](https://github.com/iamkun/dayjs/issues/546)) ([f2b5ebf](https://github.com/iamkun/dayjs/commit/f2b5ebf))

## [1.8.11](https://github.com/iamkun/dayjs/compare/v1.8.10...v1.8.11) (2019-03-21)


### Bug Fixes

* Add .add('quarter') .startOf('quarter') through plugin quarterOfYear ([dde39e9](https://github.com/iamkun/dayjs/commit/dde39e9)), closes [#537](https://github.com/iamkun/dayjs/issues/537) [#531](https://github.com/iamkun/dayjs/issues/531)
* Add locale support for Azerbaijani language (az) ([#535](https://github.com/iamkun/dayjs/issues/535)) ([eeb20fa](https://github.com/iamkun/dayjs/commit/eeb20fa))
* Correct typescript definition `add` ([22a249c](https://github.com/iamkun/dayjs/commit/22a249c)), closes [#531](https://github.com/iamkun/dayjs/issues/531)
* Fix CustomParseFormat plugin formatting bug ([#536](https://github.com/iamkun/dayjs/issues/536)) ([8578546](https://github.com/iamkun/dayjs/commit/8578546)), closes [#533](https://github.com/iamkun/dayjs/issues/533)
* Update pt locale ([#538](https://github.com/iamkun/dayjs/issues/538)) ([1ac9e1e](https://github.com/iamkun/dayjs/commit/1ac9e1e))

## [1.8.10](https://github.com/iamkun/dayjs/compare/v1.8.9...v1.8.10) (2019-03-10)


### Bug Fixes

* **locale:** Add nepali (ne) locale ([#524](https://github.com/iamkun/dayjs/issues/524)) ([bdbec01](https://github.com/iamkun/dayjs/commit/bdbec01))
* Add WeekYear plugin ([a892608](https://github.com/iamkun/dayjs/commit/a892608))
* API .locale() with no argument should return current locale name string ([8d63d88](https://github.com/iamkun/dayjs/commit/8d63d88))
* CustomParseFormat correct parse HH:mm:ss with only one digit like 0:12:10 ([600d547](https://github.com/iamkun/dayjs/commit/600d547))
* CustomParseFormat plugin parse Do format string ([bf27fda](https://github.com/iamkun/dayjs/commit/bf27fda)), closes [#522](https://github.com/iamkun/dayjs/issues/522)
* Expand setters like .year(2000) .hour(12) ([ac532a0](https://github.com/iamkun/dayjs/commit/ac532a0))
* Move toObject, toArray API to separate plugin from core ([40a3431](https://github.com/iamkun/dayjs/commit/40a3431))

## [1.8.9](https://github.com/iamkun/dayjs/compare/v1.8.8...v1.8.9) (2019-03-06)


### Features

* Add UTC mode with UTC plugin ([#517](https://github.com/iamkun/dayjs/issues/517)) ([caf335c](https://github.com/iamkun/dayjs/commit/caf335c))

> For plugin developers: Please note, we have changed the name of some method in `Utils` in order to reduce the file size. ([#517](https://github.com/iamkun/dayjs/issues/517)) ([detail](https://github.com/iamkun/dayjs/pull/517/files#diff-2b4ca49d4bb0a774c4d4c1672d7aa781R46))

### Bug Fixes

* Add locale de-AT ([#515](https://github.com/iamkun/dayjs/issues/515)) ([d93f7b6](https://github.com/iamkun/dayjs/commit/d93f7b6))
* Add locale zh-hk ([#516](https://github.com/iamkun/dayjs/issues/516)) ([5fc05a6](https://github.com/iamkun/dayjs/commit/5fc05a6))

## [1.8.8](https://github.com/iamkun/dayjs/compare/v1.8.7...v1.8.8) (2019-02-25)


### Bug Fixes

* Update relativeTime plugin type definition ([de56f2c](https://github.com/iamkun/dayjs/commit/de56f2c))

## [1.8.7](https://github.com/iamkun/dayjs/compare/v1.8.6...v1.8.7) (2019-02-24)


### Bug Fixes

* Add plugin type definitions ([#418](https://github.com/iamkun/dayjs/issues/418)) ([361d437](https://github.com/iamkun/dayjs/commit/361d437))
* Add Swahili locale ([#508](https://github.com/iamkun/dayjs/issues/508)) ([b9cee84](https://github.com/iamkun/dayjs/commit/b9cee84))
* Parse month string 'MMMM MMM (February, Feb)' in customParseFormat ([#457](https://github.com/iamkun/dayjs/issues/457)) ([f343206](https://github.com/iamkun/dayjs/commit/f343206))
* Update declaration file .diff .isBefore .isSame .isAfter ([#496](https://github.com/iamkun/dayjs/issues/496)) ([4523275](https://github.com/iamkun/dayjs/commit/4523275))
* Word orders corrections for locale 'fa' ([#491](https://github.com/iamkun/dayjs/issues/491)) ([56050c2](https://github.com/iamkun/dayjs/commit/56050c2))

## [1.8.6](https://github.com/iamkun/dayjs/compare/v1.8.5...v1.8.6) (2019-02-14)


### Bug Fixes

* Add Bahasa Melayu (Malaysia) locale ([#485](https://github.com/iamkun/dayjs/issues/485)) ([cb208b0](https://github.com/iamkun/dayjs/commit/cb208b0))
* Copy & export built-in en locale to /locale folder as a separate file ([a7e05e0](https://github.com/iamkun/dayjs/commit/a7e05e0))
* Fix bug in customParseFormat plugin while month(MM) is '01' ([9884ca5](https://github.com/iamkun/dayjs/commit/9884ca5)), closes [#494](https://github.com/iamkun/dayjs/issues/494)
* Fix startOf week bug while week start is not Sunday ([5eaf77b](https://github.com/iamkun/dayjs/commit/5eaf77b))
* Implemented isBetween inclusivity ([#464](https://github.com/iamkun/dayjs/issues/464)) ([af2f4f1](https://github.com/iamkun/dayjs/commit/af2f4f1))
* Update Swedish and Finnish locales ([#488](https://github.com/iamkun/dayjs/issues/488)) ([f142082](https://github.com/iamkun/dayjs/commit/f142082))
* Fix commonJS require ES Module bug in webpack4 ([23f9f3d](https://github.com/iamkun/dayjs/commit/23f9f3d)), check [#492](https://github.com/iamkun/dayjs/issues/492)

> Get access to ESM code with `import dayjs from 'dayjs/esm'`

## [1.8.5](https://github.com/iamkun/dayjs/compare/v1.8.4...v1.8.5) (2019-02-07)


### Bug Fixes

* Add en-gb locale ([#478](https://github.com/iamkun/dayjs/issues/478)) ([508c3a7](https://github.com/iamkun/dayjs/commit/508c3a7))
* **module:** transpile everything except ES6 modules in the 'module' entrypoint ([#477](https://github.com/iamkun/dayjs/issues/477)) ([#480](https://github.com/iamkun/dayjs/issues/480)) ([#482](https://github.com/iamkun/dayjs/issues/482)) ([767017d](https://github.com/iamkun/dayjs/commit/767017d))
* update customParseFormat plugin support hh:mm ([54947cc](https://github.com/iamkun/dayjs/commit/54947cc)), closes [#484](https://github.com/iamkun/dayjs/issues/484)
* Update module in package.json ([5c5a7a0](https://github.com/iamkun/dayjs/commit/5c5a7a0))

## [1.8.4](https://github.com/iamkun/dayjs/compare/v1.8.3...v1.8.4) (2019-02-05)

* Allow set start day of week in locale && Allow set week in weekOfYear plugin ([1295591](https://github.com/iamkun/dayjs/commit/1295591))
### Bug Fixes
* update all locale files with correct week start ([5b03412](https://github.com/iamkun/dayjs/commit/5b03412))
* update es es-do locale adding weekStart && update weekStart test ([66e42ec](https://github.com/iamkun/dayjs/commit/66e42ec))
* Revert default export ([b00da1b](https://github.com/iamkun/dayjs/commit/b00da1b))

## [1.8.3](https://github.com/iamkun/dayjs/compare/v1.8.2...v1.8.3) (2019-02-04)


### Bug Fixes

* fix ios safari YYYY-MM-DD HH:mm parse BUG ([e02ae82](https://github.com/iamkun/dayjs/commit/e02ae82)), closes [#254](https://github.com/iamkun/dayjs/issues/254)

## [1.8.2](https://github.com/iamkun/dayjs/compare/v1.8.1...v1.8.2) (2019-02-02)


### Bug Fixes

* Add missing czech language locale ([#461](https://github.com/iamkun/dayjs/issues/461)) ([7e04004](https://github.com/iamkun/dayjs/commit/7e04004))
* Add utcOffset api method and fix calculating diff error in DST ([#453](https://github.com/iamkun/dayjs/issues/453)) ([ce2e30e](https://github.com/iamkun/dayjs/commit/ce2e30e))
* Fix it locale error ([#458](https://github.com/iamkun/dayjs/issues/458)) ([f6d9a64](https://github.com/iamkun/dayjs/commit/f6d9a64))
* Add DayOfYear plugin (#454)
* Fix es locale monthsShort error

## [1.8.1](https://github.com/iamkun/dayjs/compare/v1.8.0...v1.8.1) (2019-02-02)

* Add LocalizedFormat plugin supplying format like LTS, LT, LLLL 

* <del>update declaration File with default export (#278)</del>
> <del>From v1.8.1, in TypeScript Project, just `import from dayjs from 'dayjs'`</del>
* add ES2015 module support (#451)

### Performance Improvements

* **format:** reuse matches instead of created when replacing ([#441](https://github.com/iamkun/dayjs/issues/441)) ([10b79d8](https://github.com/iamkun/dayjs/commit/10b79d8))

# [1.8.0](https://github.com/iamkun/dayjs/compare/v1.7.8...v1.8.0) (2019-01-14)


### Features

* add CustomParseFormat plugin  and QuarterOfYear plugin ([#450](https://github.com/iamkun/dayjs/issues/450)) ([8f6f63c](https://github.com/iamkun/dayjs/commit/8f6f63c))

## [1.7.8](https://github.com/iamkun/dayjs/compare/v1.7.7...v1.7.8) (2018-12-13)


### Feature

* update isSame isBefore isAfter supports units ([fd65464](https://github.com/iamkun/dayjs/commit/fd65464))

* add greek lithuanian locales 

## [1.7.7](https://github.com/iamkun/dayjs/compare/v1.7.6...v1.7.7) (2018-09-26)


### Bug Fixes

* **DST:** fix daylight saving time DST bug && add test ([#354](https://github.com/iamkun/dayjs/issues/354)) ([6fca6d5](https://github.com/iamkun/dayjs/commit/6fca6d5))

## [1.7.6](https://github.com/iamkun/dayjs/compare/v1.7.5...v1.7.6) (2018-09-25)


### Bug Fixes

* **add dayjs.unix:** add dayjs.unix to parse timestamp in seconds && locale update ([5711c5e](https://github.com/iamkun/dayjs/commit/5711c5e))

## [1.7.5](https://github.com/iamkun/dayjs/compare/v1.7.4...v1.7.5) (2018-08-10)


### Bug Fixes

* add isBetween API & update ([b5fc3d1](https://github.com/iamkun/dayjs/commit/b5fc3d1))

## [1.7.4](https://github.com/iamkun/dayjs/compare/v1.7.3...v1.7.4) (2018-07-11)


### Bug Fixes

* update set week logic ([60b6325](https://github.com/iamkun/dayjs/commit/60b6325)), closes [#276](https://github.com/iamkun/dayjs/issues/276)

## [1.7.3](https://github.com/iamkun/dayjs/compare/v1.7.2...v1.7.3) (2018-07-10)


### Bug Fixes

* **locale-nl:** set correct weekdays and months ([6d089d7](https://github.com/iamkun/dayjs/commit/6d089d7))

## [1.7.2](https://github.com/iamkun/dayjs/compare/v1.7.1...v1.7.2) (2018-07-04)


### Bug Fixes

* DEPRECATED isLeapYear, use IsLeapYear plugin instead ([e2e5116](https://github.com/iamkun/dayjs/commit/e2e5116))

## [1.7.1](https://github.com/iamkun/dayjs/compare/v1.7.0...v1.7.1) (2018-07-03)


### Bug Fixes

* fix week() error near the end of the year ([fa03689](https://github.com/iamkun/dayjs/commit/fa03689))

# [1.7.0](https://github.com/iamkun/dayjs/compare/v1.6.10...v1.7.0) (2018-07-02)


### Features

* Added method `.week()` to retrieve week of the year ([e1c1b1c](https://github.com/iamkun/dayjs/commit/e1c1b1c))
* Updated Japanese locae

## [1.6.10](https://github.com/iamkun/dayjs/compare/v1.6.9...v1.6.10) (2018-06-25)


### Bug Fixes

* Add relative locales to russian language ([c7e9898](https://github.com/iamkun/dayjs/commit/c7e9898)), closes [#256](https://github.com/iamkun/dayjs/issues/256)

## [1.6.9](https://github.com/iamkun/dayjs/compare/v1.6.8...v1.6.9) (2018-06-14)


### Bug Fixes

* add isDayjs => boolean API ([6227c8b](https://github.com/iamkun/dayjs/commit/6227c8b))

## [1.6.8](https://github.com/iamkun/dayjs/compare/v1.6.7...v1.6.8) (2018-06-14)


### Bug Fixes

* fix  Advanced format bug in zh-cn ([0c07874](https://github.com/iamkun/dayjs/commit/0c07874)), closes [#242](https://github.com/iamkun/dayjs/issues/242)

## [1.6.7](https://github.com/iamkun/dayjs/compare/v1.6.6...v1.6.7) (2018-06-11)


### Bug Fixes

* fix id locale ([1ebbeb8](https://github.com/iamkun/dayjs/commit/1ebbeb8)), closes [#234](https://github.com/iamkun/dayjs/issues/234)

<a name="1.6.6"></a>
## [1.6.6](https://github.com/iamkun/dayjs/compare/v1.6.5...v1.6.6) (2018-06-06)


### Bug Fixes

*  format API update and locale file update ([5ca48f0](https://github.com/iamkun/dayjs/commit/5ca48f0)), closes [#228](https://github.com/iamkun/dayjs/issues/228)

<a name="1.6.5"></a>
## [1.6.5](https://github.com/iamkun/dayjs/compare/v1.6.4...v1.6.5) (2018-05-31)


### Bug Fixes

* bugfix, utils update and  locale file update ([ebcb6d5](https://github.com/iamkun/dayjs/commit/ebcb6d5)), closes [#214](https://github.com/iamkun/dayjs/issues/214)

<a name="1.6.4"></a>
## [1.6.4](https://github.com/iamkun/dayjs/compare/v1.6.3...v1.6.4) (2018-05-25)


### Bug Fixes

* add RelativeTime plugin and locale file update ([c1fbbca](https://github.com/iamkun/dayjs/commit/c1fbbca)), closes [#198](https://github.com/iamkun/dayjs/issues/198)

<a name="1.6.3"></a>
## [1.6.3](https://github.com/iamkun/dayjs/compare/v1.6.2...v1.6.3) (2018-05-21)


### Bug Fixes

* Changing locales locally is immutable from this release ([2cce729](https://github.com/iamkun/dayjs/commit/2cce729)), closes [#182](https://github.com/iamkun/dayjs/issues/182)
* instance locale change should be immutable ([84597c9](https://github.com/iamkun/dayjs/commit/84597c9))
* Add more locales
* english ordinal fix

<a name="1.6.2"></a>
## [1.6.2](https://github.com/iamkun/dayjs/compare/v1.6.1...v1.6.2) (2018-05-18)


### Bug Fixes

* change-log update && test new npm release ([aa49cba](https://github.com/iamkun/dayjs/commit/aa49cba)), closes [#163](https://github.com/iamkun/dayjs/issues/163)

<a name="1.6.1"></a>
## [1.6.1](https://github.com/iamkun/dayjs/compare/v1.6.0...v1.6.1) (2018-05-18)


### Bug Fixes

* Add German, Brazilian Portuguese locales
* add() & parse() bug fix & add locale de, pt-br ([bf1331e](https://github.com/iamkun/dayjs/commit/bf1331e))

<a name="1.6.0"></a>
# [1.6.0](https://github.com/iamkun/dayjs/compare/v1.5.24...v1.6.0) (2018-05-15)


### Features

* Locale && Plugin ([2342c55](https://github.com/iamkun/dayjs/commit/2342c55)), closes [#141](https://github.com/iamkun/dayjs/issues/141)


================================================
FILE: CONTRIBUTING.md
================================================
# Contributing to Day.js

Thank you for taking the time to read our contribution guidelines. You can start contributing in many ways like filing bug reports, [improving the locale && documentation](https://github.com/iamkun/dayjs/issues/171), or helping others.

Our open source community strives to be nice, welcoming and professional. Instances of abusive, harassing, or otherwise unacceptable behavior will not be tolerated.

## Style

* Day.js is written in ES6.
* We use ESLint to check our code. You can use `npm run lint` before submitting a pull request.
* Please use semantic commit message.

## Bugs

* Before submitting a bug report, search the issues for similar tickets. Your issue may have already been discussed and resolved. 
* Feel free to add a comment to an existing issue, even if it's closed.
* Be thorough in your title and report, don't leave out important details.
* English, please.

## Tests

* Feel free to create a new `test/*.test.js` file if none of the existing test files suits your test case.
* Help us keeping 100% test coverage :D.
* You can use `npm run test` before submitting a pull request.


================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2018-present, iamkun

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


================================================
FILE: README.md
================================================
English | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) | [Türkçe](./docs/tr/README-tr.md) | [සිංහල](./docs/si/README-si.md) | [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js" /></a></p>
<p align="center">Fast <b>2kB</b> alternative to Moment.js with the same modern API</p>
<p align="center">
    <a href="https://bundlephobia.com/package/dayjs"><img
            src="https://img.shields.io/bundlephobia/minzip/dayjs?style=flat-square&color=%2345cc11"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js.

```js
dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
```

* 🕒 Familiar Moment.js API & patterns
* 💪 Immutable
* 🔥 Chainable
* 🌐 I18n support
* 📦 2kb mini library
* 👫 All browsers supported

---

## Getting Started

### Documentation

You can find more details, API, and other docs on [day.js.org](https://day.js.org/) website.

### Installation

```console
npm install dayjs --save
```

📚[Installation Guide](https://day.js.org/docs/en/installation/installation)

### API

It's easy to use Day.js APIs to parse, validate, manipulate, and display dates and times.

```javascript
dayjs('2018-08-08') // parse

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display

dayjs().set('month', 3).month() // get & set

dayjs().add(1, 'year') // manipulate

dayjs().isBefore(dayjs()) // query
```

📚[API Reference](https://day.js.org/docs/en/parse/parse)

### I18n

Day.js has great support for internationalization.

But none of them will be included in your build unless you use it.

```javascript
import 'dayjs/locale/es' // load on demand

dayjs.locale('es') // use Spanish locale globally

dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance
```

📚[Internationalization](https://day.js.org/docs/en/i18n/i18n)

### Plugin

A plugin is an independent module that can be added to Day.js to extend functionality or add new features.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand

dayjs.extend(advancedFormat) // use plugin

dayjs().format('Q Do k kk X x') // more available formats
```

📚[Plugin List](https://day.js.org/docs/en/plugin/plugin)

## Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

[[Become a sponsor via Github](https://github.com/sponsors/iamkun/)] [[Become a sponsor via OpenCollective](https://opencollective.com/dayjs#sponsor)]

<a href="https://github.com/ken-swyfft" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/65305317?v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/sight-sound" target="_blank">
  <img width="70" src="https://images.opencollective.com/sight-sound/54f7220/logo/256.png?height=256">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/filerev" target="_blank">
  <img width="70" src="https://images.opencollective.com/filerev/93a8f05/logo/256.png?height=256" />
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/carboneio" target="_blank">
  <img width="70" src="https://images.opencollective.com/carboneio/fe2066c/logo/256.png?height=256">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/radioplusexperts" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/188567998?v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://anonstories.com" target="_blank">
  <img alt="Instagram Story Viewer" width="70" src="https://avatars.githubusercontent.com/u/240702364?v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://automatio.ai" target="_blank" alt="Automatio AI">
  <img width="70" src="https://avatars.githubusercontent.com/u/1984909?v=4" />
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://bestkru.com/" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/159320286" alt="BestKru">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://handsontable.com/docs/react-data-grid/?utm_source=Dayjs_GH&utm_medium=sponsorship&utm_campaign=library_sponsorship" target="_blank">
  <img width="70" src="https://github.com/user-attachments/assets/426c3476-dc34-44d1-a904-ed58dbd20dd6">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://route4me.com/" target="_blank">
  <img width="70" src="https://github.com/user-attachments/assets/3fbc86c5-98a9-49c2-beae-1969026fcd76" alt="Route Optimizer and Route Planner Software">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/sentdm" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/153308555?s=200&v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/blacksandsmedia" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/116517387?v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/mvpsnet" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/89784111?s=96&v=4">
</a>


## Contributors

This project exists thanks to all the people who contribute.

Please give us a 💖 star 💖 to support us. Thank you.

And thank you to all our backers! 🙏

<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<br />
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## License

Day.js is licensed under a [MIT License](./LICENSE).


================================================
FILE: babel.config.js
================================================
module.exports = {
  env: {
    test: {
      presets: [
        '@babel/preset-env'
      ]
    },
    build: {
      presets: [
        [
          '@babel/preset-env',
          {
            modules: false,
            loose: true
          }
        ]
      ]
    }
  }
}


================================================
FILE: build/esm.js
================================================
const fs = require('fs')
const path = require('path')
const util = require('util')
const { ncp } = require('ncp')

const { promisify } = util

const typeFileExt = '.d.ts'
const localeDir = path.join(process.env.PWD, 'esm/locale')
const pluginDir = path.join(process.env.PWD, 'esm/plugin')
const localeTypePath = path.join(process.env.PWD, 'esm/locale', `index${typeFileExt}`);

(async () => {
  try {
    const readLocaleDir = await promisify(fs.readdir)(localeDir)
    readLocaleDir.forEach(async (l) => {
      const filePath = path.join(localeDir, l)
      const readFile = await promisify(fs.readFile)(filePath, 'utf8')
      const result = readFile.replace("'dayjs'", "'../index'")
      await promisify(fs.writeFile)(filePath, result, 'utf8')
    })

    await promisify(ncp)('./types/', './esm')

    const readLocaleFile = await promisify(fs.readFile)(localeTypePath, 'utf8')
    const localResult = readLocaleFile.replace("'dayjs", "'dayjs/esm")
    await promisify(fs.writeFile)(localeTypePath, localResult, 'utf8')

    const readPluginDir = await promisify(fs.readdir)(pluginDir)
    readPluginDir.forEach(async (p) => {
      if (p.includes(typeFileExt)) {
        const pluginName = p.replace(typeFileExt, '')
        const filePath = path.join(pluginDir, p)
        const targetPath = path.join(pluginDir, pluginName, `index${typeFileExt}`)
        const readFile = await promisify(fs.readFile)(filePath, 'utf8')
        const result = readFile.replace(/'dayjs'/g, "'dayjs/esm'")
        await promisify(fs.writeFile)(targetPath, result, 'utf8')
        await promisify(fs.unlink)(filePath)
      }
    })
  } catch (e) {
    console.error(e) // eslint-disable-line no-console
  }
})()


================================================
FILE: build/index.js
================================================
const rollup = require('rollup')
const configFactory = require('./rollup.config')
const fs = require('fs')
const util = require('util')
const path = require('path')
const { ncp } = require('ncp')

const { promisify } = util

const promisifyReadDir = promisify(fs.readdir)
const promisifyReadFile = promisify(fs.readFile)
const promisifyWriteFile = promisify(fs.writeFile)

const localeNameRegex = /\/\/ (.*) \[/
const formatName = n => n.replace(/\.js/, '').replace('-', '_')

const localePath = path.join(__dirname, '../src/locale')

async function build(option) {
  const bundle = await rollup.rollup(option.input)
  await bundle.write(option.output)
}

async function listLocaleJson(localeArr) {
  const localeListArr = []
  await Promise.all(localeArr.map(async (l) => {
    const localeData = await promisifyReadFile(path.join(localePath, l), 'utf-8')
    localeListArr.push({
      key: l.slice(0, -3),
      name: localeData.match(localeNameRegex)[1]
    })
  }))
  promisifyWriteFile(path.join(__dirname, '../locale.json'), JSON.stringify(localeListArr), 'utf8')
}

(async () => {
  try {
    /* eslint-disable no-restricted-syntax, no-await-in-loop */
    // We use await-in-loop to make rollup run sequentially to save on RAM
    const locales = await promisifyReadDir(localePath)
    for (const l of locales) {
      // run builds sequentially to limit RAM usage
      await build(configFactory({
        input: `./src/locale/${l}`,
        fileName: `./locale/${l}`,
        name: `dayjs_locale_${formatName(l)}`
      }))
    }

    const plugins = await promisifyReadDir(path.join(__dirname, '../src/plugin'))
    for (const plugin of plugins) {
      // run builds sequentially to limit RAM usage
      await build(configFactory({
        input: `./src/plugin/${plugin}/index`,
        fileName: `./plugin/${plugin}.js`,
        name: `dayjs_plugin_${formatName(plugin)}`
      }))
    }

    build(configFactory({
      input: './src/index.js',
      fileName: './dayjs.min.js'
    }))

    await promisify(ncp)('./types/', './')

    // list locales
    await listLocaleJson(locales)
  } catch (e) {
    console.error(e) // eslint-disable-line no-console
  }
})()


================================================
FILE: build/rollup.config.js
================================================
const babel = require('rollup-plugin-babel')
const { terser } = require('rollup-plugin-terser')

module.exports = (config) => {
  const { input, fileName, name } = config
  return {
    input: {
      input,
      external: [
        'dayjs'
      ],
      plugins: [
        babel({
          exclude: 'node_modules/**'
        }),
        terser()
      ]
    },
    output: {
      file: fileName,
      format: 'umd',
      name: name || 'dayjs',
      globals: {
        dayjs: 'dayjs'
      },
      compact: true
    }
  }
}


================================================
FILE: docs/demo/index.js
================================================
import dayjs from 'dayjs'
// basic usage
dayjs().format()

// parse
dayjs('2018-08-08').format()

// format
dayjs().format('YYYY-MM-DD')

// locale
dayjs().locale('zh-cn').format()

// add
dayjs().add(1, 'year').format()

// subtract
dayjs().subtract(1, 'year').format()

// diff
dayjs().diff(dayjs().add(1, 'year'), 'year')

// isBefore
dayjs().isBefore(dayjs().add(1, 'year'))

// isAfter
dayjs().isAfter(dayjs().subtract(1, 'year'))

// isSame
dayjs().isSame(dayjs())

// isLeapYear
dayjs().isLeapYear()

// isBetween
dayjs().isBetween(dayjs().subtract(1, 'year'), dayjs().add(1, 'year'))

// isSameOrAfter
dayjs().isSameOrAfter(dayjs().subtract(1, 'year'))

// isSameOrBefore
dayjs().isSameOrBefore(dayjs().add(1, 'year'))

// startOf
dayjs().startOf('year').format()

// endOf
dayjs().endOf('year').format()

// week
dayjs().week()

// weekday
dayjs().weekday()


================================================
FILE: docs/en/API-reference.md
================================================
### Note

The documents are moved to [https://day.js.org](https://day.js.org).


================================================
FILE: docs/en/I18n.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/en/Installation.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/en/Plugin.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/es-es/API-reference.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/es-es/I18n.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/es-es/Installation.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/es-es/Plugin.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/es-es/README-es-es.md
================================================
Español (España) | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Português Brasileiro](../pt-br/README-pt-br.md) | [한국어](../ko/README-ko.md) | [Русский](../ru/README-ru.md) | [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">Alternativa rápida y ligera <b>2kB</b> a Moment.js, con la misma API moderna</p>
<br>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js es una librería minimalista para JavaScript que analiza, valida, manipula y muestra fechas y horas para navegadores modernos, manteniendo una API casi completamente compatible con Moment.js. Si usas o has usado Moment.js, ya sabes usar Day.js

```js
dayjs()
  .startOf('month')
  .add(1, 'day')
  .set('year', 2018)
  .format('YYYY-MM-DD HH:mm:ss')
```

- 🕒 API & patrones familiares para usuarios de Moment.js
- 💪 Inmutable
- 🔥 Encadenable
- 🌐 Soporta I18n
- 📦 Mini librería de 2kb
- 👫 Compatible con todos los navegadores

---

# Primeros pasos

### Documentación

Puedes encontrar más detalles, la API y otros documentos en [day.js.org](https://day.js.org/) el sitio web.

## Instalación

```console
npm install dayjs --save
```

📚[Guía de instalación](https://day.js.org/docs/en/installation/installation)

## API

Es fácil el usar las APIs de Day.js para analizar, validar, manipular y mostrar fechas y horas.

```javascript
dayjs('2018-08-08') // analiza

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // da formato

dayjs()
  .set('month', 3)
  .month() // get & set

dayjs().add(1, 'year') // manipula

dayjs().isBefore(dayjs()) // consulta
```

📚[Referencia de la API](https://day.js.org/docs/en/parse/parse)

## I18n

Day.js soporta muy bien la internacionalización.

Pero no se incluirá en tu compilación final a menos que así lo requieras.

```javascript
import 'dayjs/locale/es' // carga bajo demanda

dayjs.locale('es') // usar la configuración regional española globalmente

dayjs('2018-05-05')
  .locale('zh-cn')
  .format() // usar el chino simplificado en una instancia concreta
```

📚[Internacionalización](https://day.js.org/docs/en/i18n/i18n)

## Complementos

Un complemento o _plugin_ es un módulo independiente que puede añadirse a Day.js para extender su funcionalidad o añadir nuevas características.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // carga bajo demanda

dayjs.extend(advancedFormat) // uso del complemento

dayjs().format('Q Do k kk X x') // ahora tenemos más formatos disponibles
```

📚[Lista de complementos](https://day.js.org/docs/en/plugin/plugin)

## Patrocinadores

Apoya a este proyecto convirtiéndote en un patrocinador. Tu logo aparecerá aquí, enlazado a tu sitio web. [[Conviértete en un patrocinador](https://opencollective.com/dayjs#sponsor)]

[![Avatar patrocinador 1](https://opencollective.com/dayjs/sponsor/0/avatar.svg)](https://opencollective.com/dayjs/sponsor/0/website)
[![Avatar patrocinador 2](https://opencollective.com/dayjs/sponsor/1/avatar.svg)](https://opencollective.com/dayjs/sponsor/1/website)
[![Avatar patrocinador 3](https://opencollective.com/dayjs/sponsor/2/avatar.svg)](https://opencollective.com/dayjs/sponsor/2/website)

## Contribuidores

Este proyecto existe gracias a todas las personas que contribuyen en él.

Por favor, danos una 💖 estrella 💖 para apoyarnos. Gracias.

¡Y gracias también a todos nuestros micromecenas! 🙏
<a alt="Mural de avatares de micromecenas" href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## Licencia

Day.js está licenciado bajo la [Licencia MIT](./LICENSE).


================================================
FILE: docs/fr/README-fr.md
================================================
Français | [English](../../README.md) | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) | [Türkçe](./docs/tr/README-tr.md) | [සිංහල](./docs/si/README-si.md) | [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js" /></a></p>
<p align="center">Alternative rapide de <b>2kB</b> à Moment.js avec la même API moderne</p>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js est une bibliothèque JavaScript minimaliste qui analyse, valide, manipule et affiche les dates et heures pour les navigateurs modernes avec une API largement compatible avec Moment.js. Si vous utilisez Moment.js, vous savez déjà comment utiliser Day.js.

```js
dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
```

* 🕒 Familiarité avec l'API et les modèles Moment.js
* 💪 Immuable
* 🔥 Enchaînable
* 🌐 Support I18n
* 📦 Petite bibliothèque de 2kb
* 👫 Tous les navigateurs sont pris en charge

---

## Mise en place

### Documentation

Vous trouverez plus de détails sur l'API et les autres documents sur le site [day.js.org](https://day.js.org/).

### Installation

```console
npm install dayjs --save
```

📚[Guide d'installation](https://day.js.org/docs/en/installation/installation)

### API

Il est facile d'utiliser les API de Day.js pour analyser, valider, manipuler et afficher des dates et des heures.

```javascript
dayjs('2018-08-08') // parse

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display

dayjs().set('month', 3).month() // get & set

dayjs().add(1, 'year') // manipulate

dayjs().isBefore(dayjs()) // query
```

📚[API Reference](https://day.js.org/docs/en/parse/parse)

### I18n

Day.js offre une excellente prise en charge de l'internationalisation.

Mais aucun d'entre eu ne sera inclus dans votre construction si vous ne l'utilisez pas.

```javascript
import 'dayjs/locale/es' // load on demand

dayjs.locale('es') // use Spanish locale globally

dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance
```

📚[Internationalisation](https://day.js.org/docs/en/i18n/i18n)

### Plugin

Un plugin est un module indépendant qui peut être ajouté à Day.js pour en étendre les fonctionnalités ou en ajouter de nuovelles.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand

dayjs.extend(advancedFormat) // use plugin

dayjs().format('Q Do k kk X x') // more available formats
```

📚[Liste des plugins](https://day.js.org/docs/en/plugin/plugin)

### Tendance d'utilisation

<a href="https://npm-compare.com/moment,dayjs/#timeRange=THREE_YEARS" target="_blank" rel="noopener noreferrer">
  <img src="https://user-images.githubusercontent.com/3455798/270162667-c7bd2ebe-675e-45c6-a2c9-dc67f3b65d6e.png">
</a>

## Sponsors

Soutenez ce projet en devenant sponsor. Votre logo apparaîtra ici avec un lien vers votre site web.

[[Devenir sponsor via Github](https://github.com/sponsors/iamkun/)] [[Devenir sponsor via OpenCollective](https://opencollective.com/dayjs#sponsor)]

<a href="https://toyokumo.co.jp" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/197092231-2367b5eb-1e43-467e-a311-23f7cd97b086.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/alan-eu" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/18175329?s=52&v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/sight-and-sound-ministries" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/232316426-cb99b4cf-0ccb-4e73-a6ce-e16dba6aadf4.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/chudovo" target="_blank">
  <img width="70" src="https://images.opencollective.com/chudovo/3c866f5/logo/256.png?height=256">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/ken-swyfft" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/65305317?v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://www.exoflare.com/open-source/?utm_source=dayjs&utm_campaign=open_source" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/162761622-1407a849-0c41-4591-8aa9-f98114ec2092.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/anonstories" target="_blank"><img width="70" src="https://images.opencollective.com/anonstories/7e826c0/avatar/256.png"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/datawrapper" target="_blank"><img width="70" src="https://images.opencollective.com/datawrapper/c13e229/logo.png"></a>

## Contributeurs

Ce projet existe grâce à toutes les personnes qui y contribuent.

Donnez-nous une 💖 étoile 💖 pour nous soutenir. Nous vous remercions.

Et merci à tous nos donateurs ! 🙏

<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<br />
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## Licence

Day.js est sous licence [MIT License](./LICENSE).


================================================
FILE: docs/he/README-he.md
================================================
<div dir="rtl">

עברית | [English](../../README.md)  | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) | [Türkçe](./docs/tr/README-tr.md) | [සිංහල](./docs/si/README-si.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">אלטרנטיבה מהירה ל-Moment.js ששוקלת רק <b>2kB</b> עם אותן יכולות מודרניות</p>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js היא ספרייה מינימלסטית לפענוח, אימות, מניפולציה והצגה של תאריכים ושעות לדפדפנים מודרנים עם תאימות גבוהה ל-API של Moment.js. אם השתמשתם ב-Moment.js, אתם כבר יודעים את Day.js

<div dir="ltr">

```js
dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
```

</div>

* 🕒 תבניות ו-API זהים ל-Moment.js
* 💪 אינו ניתן לשינוי
* 🔥 ניתן לשרשור
* 🌐 תמיכה ב-I18n
* 📦 ספרייה קטנטנה 2kb
* 👫 נתמכת בכל הדפדפנים

---

## צעדים ראשונים

### דוקומנטצייה
באתר [day.js.org](https://day.js.org/) ניתן למצוא פרטים נוספים, API, ותיעודים נוספים.


### התקנה

```console
npm install dayjs --save
```

📚[מדריך התקנה](https://day.js.org/docs/en/installation/installation)

### API
מאוד קל להשתמש ב-Day.js לפענוח, אימות, מניפולציה והצגה של תאריכים ושעות.

<div dir="ltr">


```javascript
dayjs('2018-08-08') // פענוח

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // הצגה

dayjs().set('month', 3).month() // קבלה והגדרה

dayjs().add(1, 'year') // מניפולציה

dayjs().isBefore(dayjs()) // שאילתה
```

</div>

📚[תיעודי API](https://day.js.org/docs/en/parse/parse)

### I18n
ל-Day.js יש תמיכה מצוינית בבינלאומיות.

אבל אף אחד מהם לא יכלל בקובץ הסופי אלא אם כן יתבצע בהם שימוש.

<div dir="ltr">


```javascript
import 'dayjs/locale/es' // טעינה לפי הצורך

dayjs.locale('es') // הגדרה לשימוש בספרדית באופן גלובלאלי

dayjs('2018-05-05').locale('zh-cn').format() // הגדרה לשימוש בסינית פשוטה למופע ספיציפי בלבד
```

</div>


📚[בינלאומיות](https://day.js.org/docs/en/i18n/i18n)

### תוסף

תוסף הוא מודל בלתי-תלוי הניתן להוספה ל-Day.js להרחבה או להוספה של פונקציות.


<div dir="ltr">


```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' //  טעינה לפי הצורך

dayjs.extend(advancedFormat) // שימוש בתוסף

dayjs().format('Q Do k kk X x') // כעת יותר אפשרויות זמינות
```

</div>

📚[רשימת תוספים](https://day.js.org/docs/en/plugin/plugin)

### ספונסרים
תמכו בפרויקט זה כדי להיות ספונסר. קבלו לוגו עם קישור לאתר שלכם שיופיע כאן.

[[תמיכה דרך Github](https://github.com/sponsors/iamkun/)] [[תמיכה דרך OpenCollective](https://opencollective.com/dayjs#sponsor)]

<a href="https://toyokumo.co.jp" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/197092231-2367b5eb-1e43-467e-a311-23f7cd97b086.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/alan-eu" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/18175329?s=52&v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/sight-and-sound-ministries" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/232316426-cb99b4cf-0ccb-4e73-a6ce-e16dba6aadf4.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://www.exoflare.com/open-source/?utm_source=dayjs&utm_campaign=open_source" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/162761622-1407a849-0c41-4591-8aa9-f98114ec2092.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://rxdb.info/?utm_source=day.js.org&utm_medium=banner&utm_campaign=day.js.org-sponsored" target="_blank"><img width="70" src="https://user-images.githubusercontent.com/17680888/200301812-9c9bd523-5dc4-4cab-b380-543fbcd3802c.svg"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/vendure-ecommerce" target="_blank"><img width="70" src="https://avatars.githubusercontent.com/u/39629390?s=52&v=4"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/docbot" target="_blank"><img width="70" src="https://images.opencollective.com/docbot/457761e/logo.png"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/datawrapper" target="_blank"><img width="70" src="https://images.opencollective.com/datawrapper/c13e229/logo.png"></a>

## תורמים

פרויקט זה קיים הודות לכל האנשים שתמכו בו.

תנו לנו 💖 כוכב 💖 כדי לתמוך בנו. תודה רבה.

ותודה רבה לכל התומכים שלנו! 🙏

<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<br />
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## רישיון

Day.js מורשה לשימוש עם [רישיון MIT](./LICENSE).
</div>


================================================
FILE: docs/ja/API-reference.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ja/I18n.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ja/Installation.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ja/Plugin.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ja/README-ja.md
================================================
日本語 | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [Português Brasileiro](../pt-br/README-pt-br.md) | [한국어](../ko/README-ko.md) | [Español (España)](../es-es/README-es-es.md) | [Русский](../ru/README-ru.md)| [עברית](../he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">Moment.js と同じ API を備えた <b>2kB</b> の軽量ライブラリ</p>
<br>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/npm/l/dayjs.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js は日付と時刻をパース・検証・操作・表示する最小のモダンブラウザ向け JavaScript ライブラリであり、 Moment.js の API との広い互換性を持ちます。 Moment.js を使ったことがあればすぐにでも Day.js を使い始めることができます。

```js
dayjs()
  .startOf('month')
  .add(1, 'day')
  .set('year', 2018)
  .format('YYYY-MM-DD HH:mm:ss')
```

- 🕒 Moment.js と類似した API と使用法
- 💪 イミュータブル
- 🔥 メソッドチェーン
- 🌐 国際化サポート (I18n)
- 📦 2kb の軽量ライブラリ
- 👫 全ブラウザをサポート

---

## はじめに

### ドキュメント

詳細、API、その他のドキュメントについては、[day.js.org](https://day.js.org/) のウェブサイトを参照してください。

### インストール

```console
npm install dayjs --save
```

📚[インストールガイド](https://day.js.org/docs/en/installation/installation)

### API

Day.js API で日付と時刻をパース・検証・操作・表示するのは簡単です。

```javascript
dayjs('2018-08-08') // パース

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // 表示

dayjs()
  .set('month', 3)
  .month() // get & set

dayjs().add(1, 'year') // 操作

dayjs().isBefore(dayjs()) // クエリ
```

📚[API リファレンス](https://day.js.org/docs/en/parse/parse)

### 国際化 (I18n)

Day.js は国際化を手厚くサポートしています。

また、使用しないロケールをビルドに含みません。

```javascript
import 'dayjs/locale/es' // 必要に応じて読み込み

dayjs.locale('es') // スペイン語をグローバルロケールとして適用

dayjs('2018-05-05')
  .locale('zh-cn')
  .format() // 簡体字中国語を特定のインスタンスにのみ適用
```

📚[国際化](https://day.js.org/docs/en/i18n/i18n)

### プラグイン

プラグインとは、 Day.js の機能を拡張したり、新たな機能を追加するための独立したモジュールのことです。

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // 必要に応じて読み込み

dayjs.extend(advancedFormat) // プラグインを使用

dayjs().format('Q Do k kk X x') // 多様なフォーマットが利用可能に
```

📚[プラグインリスト](https://day.js.org/docs/en/plugin/plugin)

## ライセンス

Day.js は [MIT License](../../LICENSE) のもとで利用を許諾します。


================================================
FILE: docs/ko/API-reference.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ko/I18n.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ko/Installation.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ko/Plugin.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/ko/README-ko.md
================================================
한국어 | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Português Brasileiro](../pt-br/README-pt-br.md) | [Español (España)](../es-es/README-es-es.md) | [Русский](../ru/README-ru.md)| [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">Moment.js와 호환되는 API를 가진 경량 라이브러리 (<b>2kB</b>)</p>
<br>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/npm/l/dayjs.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js는 대부분의 API가 Moment.js와 호환되며 최신 브라우저에서 날짜와 시간에 대한 구문 분석, 유효성 검사, 조작, 출력을 간편하게 처리하는 경량 JavaScript 라이브러리 입니다. Moment.js를 사용해본 경험이 있다면, Day.js도 쉽게 사용하실 수 있습니다.

```js
dayjs()
  .startOf('month')
  .add(1, 'day')
  .set('year', 2018)
  .format('YYYY-MM-DD HH:mm:ss')
```

- 🕒 친숙한 Moment.js API와 패턴
- 💪 불변 오브젝트(Immutable)
- 🔥 메소드 체인(Chainable)
- 🌐 I18n 지원
- 📦 2kb 미니 라이브러리
- 👫 모든 브라우저 지원

---

## 시작해볼까요!

### 문서

더 많은 세부 사항과 API 및 다른 문서는 [day.js.org](https://day.js.org/) 웹사이트에서 확인하실 수 있습니다.

### 설치

```console
npm install dayjs --save
```

📚[설치 가이드](https://day.js.org/docs/en/installation/installation)

### API

Day.js API를 사용하여 날짜와 시간의 구문 분석, 검증, 조작, 출력을 간편하게 처리할 수 있습니다.

```javascript
dayjs('2018-08-08') // parse

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display

dayjs()
  .set('month', 3)
  .month() // get & set

dayjs().add(1, 'year') // manipulate

dayjs().isBefore(dayjs()) // query
```

📚[API 참고](https://day.js.org/docs/en/parse/parse)

### I18n

Day.js는 국제화에 대한 많은 지원을 제공하고 있습니다.

하지만 이 기능을 사용하지 않는 경우, 빌드에 포함되지 않습니다.

```javascript
import 'dayjs/locale/es' // load on demand

dayjs.locale('es') // use Spanish locale globally

dayjs('2018-05-05')
  .locale('zh-cn')
  .format() // use Chinese Simplified locale in a specific instance
```

📚[I18n](https://day.js.org/docs/en/i18n/i18n)

### Plugin

플러그인은 Day.js의 기능을 확장하거나 새로운 기능을 도입하기 위한 독립적인 모듈입니다.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand

dayjs.extend(advancedFormat) // use plugin

dayjs().format('Q Do k kk X x') // more available formats
```

📚[플러그인 목록](https://day.js.org/docs/en/plugin/plugin)

## License

Day.js는 [MIT License](./LICENSE)를 사용합니다.


================================================
FILE: docs/pt-br/API-reference.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/pt-br/I18n.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/pt-br/Installation.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/pt-br/Plugin.md
================================================
### Note

The documents are moved to  [https://day.js.org](https://day.js.org).


================================================
FILE: docs/pt-br/README-pt-br.md
================================================
Português Brasileiro | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [한국어](../ko/README-ko.md) | [Español (España)](../es-es/README-es-es.md) | [Русский](../ru/README-ru.md)| [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">Alternativa veloz ao Moment.js, com <b>2kB</b> e a mesma API moderna</p>
<br>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/npm/l/dayjs.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js é uma biblioteca JavaScript minimalista que analisa, valida, manipula e formata datas e horas para navegadores modernos, usando uma API quase completamente compatível com Moment.js. Se você já usou Moment.js, já sabe usar Day.js.

```js
dayjs()
  .startOf('month')
  .add(1, 'day')
  .set('year', 2018)
  .format('YYYY-MM-DD HH:mm:ss')
```

- 🕒 API & padrões familiares aos do Moment.js
- 💪 Imutável
- 🔥 Encadeável
- 🌐 Suporta I18n
- 📦 Mini biblioteca de 2kb
- 👫 Suporta todos os navegadores

---

## Começando

### Documentação

Você pode encontrar mais detalhes sobre a API e também a documentação completa em [day.js.org](https://day.js.org/).
### Instalação

```console
npm install dayjs --save
```

📚[Guia de instalação](https://day.js.org/docs/en/installation/installation)

### API

É fácil utilizar a API do Day.js para converter, validar, manipular, e exibir datas e horas.

```javascript
dayjs('2018-08-08') // converte

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // formata

dayjs()
  .set('month', 3)
  .month() // get & set

dayjs().add(1, 'year') // manipula

dayjs().isBefore(dayjs()) // verifica
```

📚[Referência da API](https://day.js.org/docs/en/parse/parse)

### I18n

Day.js tem suporte para internacionalização.

Porém nenhuma estará inclusa no seu _build_ a menos que você utilize-a.

```javascript
import 'dayjs/locale/es' // carregar sob demanda

dayjs.locale('es') // usar locale espanhol globalmente

dayjs('2018-05-05')
  .locale('pt-br')
  .format() // usar locale em português brasileiro em uma instância específica
```

📚[Internacionalização](https://day.js.org/docs/en/i18n/i18n)

### Plugin

Um plugin é um módulo independente que pode ser adicionado ao Day.js para estender funcionalidades e adicionar novos recursos.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // carregar sob demanda

dayjs.extend(advancedFormat) // usar plugin

dayjs().format('Q Do k kk X x') // mais formatos disponíveis pelo plugin
```

📚[Lista de Plugins](https://day.js.org/docs/en/plugin/plugin)

## Patrocinadores

Ajude este projeto se tornando um patrocinador. O seu logo será exibido aqui, com um link para o seu site. [[Tornar-se um Patrocinador](https://opencollective.com/dayjs#sponsor)].

<a href="https://opencollective.com/dayjs/sponsor/0/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/1/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/2/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/2/avatar.svg"></a>

## Contribuidores

Este projeto existe graças a todas as pessoas que contribuem.

Por favor, nos dê uma 💖 estrela 💖 para suportar-nos. Obrigado.

E obrigado a todos os nossos apoiadores! 🙏
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## Licença

Day.js é licenciado sob a [MIT License](../../LICENSE).


================================================
FILE: docs/ru/LICENSE-ru
================================================
Лицензия MIT

Авторское право (c) с 2018 года по настоящее время, iamkun

Данная лицензия разрешает лицам, получившим копию
данного программного обеспечения и сопутствующей документации (в дальнейшем именуемыми «Программное обеспечение»), безвозмездно
использовать Программное обеспечение без ограничений, включая неограниченное право
на использование, копирование, изменение, слияние, публикацию, распространение, сублицензирование и/или продажу
копий Программного обеспечения, а также лицам, которым предоставляется данное Программное обеспечение,
при соблюдении следующих условий:

Указанное выше уведомление об авторском праве и данные условия должны быть включены во все
копии или значимые части данного Программного обеспечения.

ДАННОЕ ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ПРЕДОСТАВЛЯЕТСЯ «КАК ЕСТЬ», БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ЯВНО ВЫРАЖЕННЫХ ИЛИ
ПОДРАЗУМЕВАЕМЫХ, ВКЛЮЧАЯ ГАРАНТИИ ТОВАРНОЙ ПРИГОДНОСТИ, СООТВЕТСТВИЯ ПО ЕГО КОНКРЕТНОМУ НАЗНАЧЕНИЮ
И ОТСУТСТВИЯ НАРУШЕНИЙ, НО НЕ ОГРАНИЧИВАЯСЬ ИМИ. НИ В КАКОМ СЛУЧАЕ АВТОРЫ ИЛИ ПРАВООБЛАДАТЕЛИ НЕ НЕСУТ ОТВЕТСТВЕННОСТИ
ПО КАКИМ-ЛИБО ИСКАМ, ЗА УЩЕРБ ИЛИ ПО ИНЫМ ТРЕБОВАНИЯМ, В ТОМ ЧИСЛЕ, ПРИ ДЕЙСТВИИ КОНТРАКТА, ДЕЛИКТЕ ИЛИ ИНОЙ СИТУАЦИИ,
ВОЗНИКШИМ ИЗ-ЗА ИСПОЛЬЗОВАНИЯ ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ ИЛИ ИНЫХ ДЕЙСТВИЙ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ.

================================================
FILE: docs/ru/README-ru.md
================================================
Русский | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Português Brasileiro](../pt-br/README-pt-br.md) | [한국어](../ko/README-ko.md) | [Español (España)](../es-es/README-es-es.md)| [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">Быстрая <b>2kB</b> альтернатива Moment.js с тем же современным API</p>
<br>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js - это миниатюрная JavaScript библиотека, которая парсит, валидирует, управляет, и отображает даты и время для современных браузеров, обладающая большой совместимостью с Moment.js API. Если вы используете Moment.js, вы уже знаете как пользоваться Day.js.

```js
dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
```

* 🕒 Хорошо знакомые API и паттерны Moment.js
* 💪 Неизменная
* 🔥 Цепная
* 🌐 Поддержка интернационализации (I18n)
* 📦 2kb мини-библиотека
* 👫 Поддерживающаяся всеми браузерами

---

## Начало работы

### Документация

Вы можете найти больше детальной информации, API, и других документов на веб-сайте [day.js.org](https://day.js.org/).

### Установка

```console
npm install dayjs --save
```

📚[Инструкция по установке](https://day.js.org/docs/en/installation/installation)

### API

API Day.js легко использовать для парсинга, валидации, управления, и отображения дат и времени.

```javascript
dayjs('2018-08-08') // парсинг

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // отображение

dayjs().set('month', 3).month() // получение и установка

dayjs().add(1, 'year') // управление

dayjs().isBefore(dayjs()) // осведомление
```

📚[Ссылка на API](https://day.js.org/docs/en/parse/parse)

### I18n

Day.js обладает великолепной поддержкой интернационализации.

Но ни одна из локализаций не будет включена в вашу сборку до тех пор, пока вы не начнёте её использовать.
```javascript
import 'dayjs/locale/es' // загрузка по требованию

dayjs.locale('es') // глобальное использование Испанской локали

dayjs('2018-05-05').locale('zh-cn').format() // использование упрощённой Китайской локали в конкретном случае
```
📚[Интернационализация](https://day.js.org/docs/en/i18n/i18n)

### Плагин

Плагин - это независимый модуль, который может быть добавлен в Day.js с целью расширения функциональных возможностей или добавления новых особенностей.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // загрузка по требованию

dayjs.extend(advancedFormat) // использование плагина

dayjs().format('Q Do k kk X x') // больше доступных форматов
```

📚[Список плагинов](https://day.js.org/docs/en/plugin/plugin)

## Спонсоры

Поддержите этот проект, став спонсором. Ваш логотип будет показан здесь с ссылкой на ваш веб-сайт. [[Стать спонсором](https://opencollective.com/dayjs#sponsor)]

<a href="https://opencollective.com/dayjs/sponsor/0/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/1/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/2/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/3/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/3/avatar.svg"></a>

## Контрибьюторы

Этот проект существует благодаря всем людям, кто вносит свой вклад в его развитие.

Пожалуйста поставьте 💖 звездочку 💖, чтобы поддержать нас. Спасибо.

Также выражаю благодарность всем нашим спонсорам! 🙏

<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## Лицензия

Day.js распространяется под [лицензией MIT](./LICENSE-ru).


================================================
FILE: docs/si/README-si.md
================================================
සිංහල | [English](../../README.md) | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) | [Türkçe](./docs/tr/README-tr.md)| [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">නවීන යෙ.ක්‍ර.මු. සමඟින් Moment.js සඳහා <b>කි.බ. 2</b> ක වේගවත් විකල්පයකි</p>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js යනු බොහෝ සෙයින් Moment.js-ගැළපෙන යෙ.ක්‍ර.මු. සහිත නවීන අතිරික්සු සඳහා දින සහ වේලාවන් ප්‍රදර්ශනයට, හැසිරවීමට, වලංගු කිරීමට සහ විග්‍රහ කිරීමට ඉතා කුඩා ජාවාස්ක්‍රිප්ට් එකතුවකි. Moment.js භාවිතා කරන්නේ නම්, Day.js භාවිතා කරන අයුරු ඔබ දැනටමත් දන්නවා.

```js
dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
```

* 🕒 හුරුපුරුදු Moment.js යෙ.ක්‍ර.මු. හා රටා
* 💪 නිත්‍යයි
* 🔥 ඈඳීමට හැකිය
* 🌐 I18n සහාය
* 📦 කි.බ. 2 ක කුඩා එකතුව
* 👫 සියළු අතිරික්සු සඳහා සහාය

---

## පටන් ගැනීම

### ප්‍රලේඛනය

[day.js.org](https://day.js.org/) වියමන අඩවියෙහි යෙ.ක්‍ර.මු. සහ වෙනත් ප්‍රලේඛනවල වැඩි විස්තර සොයා ගැනීමට හැකිය.

### ස්ථාපනය

```console
npm install dayjs --save
```

📚[ ස්ථාපන මාර්ගෝපදේශය](https://day.js.org/docs/en/installation/installation)

### යෙ.ක්‍ර.මු.

දින සහ වේලාවන් ප්‍රදර්ශනයට, හැසිරවීමට, වලංගු කිරීමට සහ විග්‍රහ කිරීමට Day.js යෙ.ක්‍ර.මු. භාවිතා කිරීම පහසුය.

```javascript
dayjs('2018-08-08') // parse

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display

dayjs().set('month', 3).month() // get & set

dayjs().add(1, 'year') // manipulate

dayjs().isBefore(dayjs()) // query
```

📚[ යෙ.ක්‍ර.මු. යොමුව](https://day.js.org/docs/en/parse/parse)

### I18n

දේශීයකරණය සඳහා Day.js සුවිශේෂී ලෙස සහය දක්වයි.

නමුත් භාවිතා කරන්නේ නම් මිස ඒවා කිසිවක් ඔබගේ තැනීමට ඇතුළත් නොවේ.

```javascript
import 'dayjs/locale/es' // load on demand

dayjs.locale('es') // use Spanish locale globally

dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance
```
📚[ දේශීයකරණය](https://day.js.org/docs/en/i18n/i18n)

### දිගුව

දිගුවක් යනු ක්‍රියාකාරිත්වය විස්තීරණයට හෝ නව විශේෂාංග අඩංගු කිරීමට Day.js වෙත එකතු කළ හැකි ස්වාධීන ඒකකයකි.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand

dayjs.extend(advancedFormat) // use plugin

dayjs().format('Q Do k kk X x') // more available formats
```

📚[ දිගු ලේඛනය](https://day.js.org/docs/en/plugin/plugin)

## අනුග්‍රාහකයින්

අනුග්‍රහය දැක්වීමෙන් මෙම ව්‍යාපෘතියට සහාය වන්න. ඔබගේ අඩවියේ සබැඳියක් සමඟ ඔබගේ ලාංඡනය මෙහි පෙන්වනු ඇත.

[[ගිට්හබ් හරහා අනුග්‍රාහකයෙකු වන්න](https://github.com/sponsors/iamkun/)] [[ඕපන්කලෙක්ටිව් හරහා අනුග්‍රාහකයෙකු වන්න](https://opencollective.com/dayjs#sponsor)]

<a href="https://www.exoflare.com/open-source/?utm_source=dayjs&utm_campaign=open_source" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/162761622-1407a849-0c41-4591-8aa9-f98114ec2092.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/vendure-ecommerce" target="_blank"><img width="70" src="https://avatars.githubusercontent.com/u/39629390?s=52&v=4"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/Velc" target="_blank"><img width="70" src="https://avatars.githubusercontent.com/u/1551649?s=52&v=4"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/projectdiscovery" target="_blank"><img width="70" src="https://avatars.githubusercontent.com/u/50994705?s=52&v=4"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/datawrapper" target="_blank"><img width="70" src="https://images.opencollective.com/datawrapper/c13e229/logo.png"></a>

## දායකයින්

මෙම ව්‍යාපෘතිය පවතිනුයේ දායක වූ සියළුම දෙනාට ස්තූති වන්නටය.

අපට සහාය වීමට 💖 තරුවක් 💖 ලබා දෙන්න. ඔබට තුති.

ඒ වගේම අපගේ මූල්‍යදායකයින් සැමට ස්තුතියි! 🙏

<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## බලපත්‍රය

[MIT බලපත්‍රයක්](./LICENSE) යටතේ Day.js නිකුත් කර ඇත.


================================================
FILE: docs/sw/README-sw.md
================================================
Swahili | [English](../../README.md) | [Kireno](../pt-br/README-pt-br.md) | [Kichina](../zh-cn/README.zh-CN.md) | [Kijapani](../ja/README-ja.md) | [Kikorea](../ko/README-ko.md) | [Kihispania](../es-es/README-es-es.md) | [Kirusi](../ru/README-ru.md) | [Kituruki](../tr/README-tr.md) | [Sinhala](../si/README-si.md) | [Kiebrania](../he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js" /></a></p>
<p align="center">Fast <b>2kB</b> mbadala wa Moment.js ukiwa na API zinazofanana na za kisasa</p>
<p align="center">
    <a href="https://bundlephobia.com/package/dayjs"><img
            src="https://img.shields.io/bundlephobia/minzip/dayjs?style=flat-square&color=%2345cc11"
            alt="Gzip Size"></a>
             <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js ni Maktaba ya JavaScript ya minimalist ambayo inachanganua, kuthibitisha, kudhibiti, na kuonyesha tarehe na nyakati kwa vivinjari vya kisasa na API inayofanana sana na Moment.js. Ikiwa unatumia Moment.js, tayari unajua jinsi ya kutumia Day.js.

```js
dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
```

* 🕒 Michoro na API maarufu za Moment.js
* 💪 Hazibadiliki
* 🔥 Zinaunganishwa
* 🌐 Zinaruhusu I18n
* 📦 Maktaba ndogo ya 2kb
* 👫 Browser zote zinaruhusu

---

## Kuanza

### Nyaraka

Unaweza kutafuta maelekezo zaidi ya  API na nyaraka zingine kupitia tovuti ya [day.js.org](https://day.js.org/).

### Kusakinisha

```console
npm install dayjs --save
```

📚[Maelekezo ya Kusakinisha](https://day.js.org/docs/en/installation/installation)

### API

Ni rahisi kutumia Day.js kupitisha, kuhakiki, kubadili na kuonesha tarehe na mda.

```javascript
dayjs('2018-08-08') // changanua

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display

dayjs().set('month', 3).month() // chukua na weka
dayjs().add(1, 'year') // manipulate

dayjs().isBefore(dayjs()) // query
```

📚[Maelekezo Ya API](https://day.js.org/docs/en/parse/parse)

### I18n

Day.js ina ruhusu kwa internalization.

Lakini hakuna hata moja ambayo itawekwa katika utengezaji endapo utatumia.

```javascript
import 'dayjs/locale/es' // load on demand

dayjs.locale('es') // use Spanish locale globally

dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance
```

📚[Internationalization](https://day.js.org/docs/en/i18n/i18n)

### Zana

Zana ya Kujumuisha ni moduli inayojitegemea ambayo inaweza ikaweka katika Day.js ili kuweza kuongeza uwezo au kuongeza sifa.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // Upakiaji kwa Mahitaji

dayjs.extend(advancedFormat) // tumia plugin

dayjs().format('Q Do k kk X x') // njia zaidi zilizopo
```

📚[Idadi Ya Plugin](https://day.js.org/docs/en/plugin/plugin)

### Trend Zinazoweza Tumika

<a href="https://npm-compare.com/moment,dayjs/#timeRange=THREE_YEARS" target="_blank" rel="noopener noreferrer">
  <img src="https://user-images.githubusercontent.com/3455798/270162667-c7bd2ebe-675e-45c6-a2c9-dc67f3b65d6e.png">
</a>

## Wafadhili

Toa mchango wako kwa huu mradi kwa kuwa mfadhili. Nembo yako itaonekana hapa pamoja na link ya kwenda kwenye tovuti yako.

[[Kuwa mfadhili kupitia GitHub](https://github.com/sponsors/iamkun/)] [[Kuwa mfadhili kupitia OpenCollective](https://opencollective.com/dayjs#sponsor)]

<a href="https://toyokumo.co.jp" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/197092231-2367b5eb-1e43-467e-a311-23f7cd97b086.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/ken-swyfft" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/65305317?v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://opencollective.com/sight-and-sound-ministries" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/232316426-cb99b4cf-0ccb-4e73-a6ce-e16dba6aadf4.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://chudovo.com/" target="_blank">
  <img width="70" src="https://images.opencollective.com/chudovo/3c866f5/logo/256.png?height=256">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/alan-eu" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/18175329?s=52&v=4">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://www.exoflare.com/open-source/?utm_source=dayjs&utm_campaign=open_source" target="_blank">
  <img width="70" src="https://user-images.githubusercontent.com/17680888/162761622-1407a849-0c41-4591-8aa9-f98114ec2092.png">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://bestkru.com/" target="_blank">
  <img width="70" src="https://avatars.githubusercontent.com/u/159320286" alt="BestKru">
</a>


## Wachangiaji

Huu mradi umefika hapa ulipo hapa shukrani ziende kwa watu wote wanao changia.

Tafadhali tupe 💖 nyota/maua 💖 kutuunga mkono sisi.Ahsante.

Na ahsante kwa wafadhili wote! 🙏

<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img width="35" src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<br />
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## Leseni

Day.js ipo chini ya kibali cha [leseni ya MTI](./LICENSE).


================================================
FILE: docs/tr/README-tr.md
================================================
Türkçe | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Português Brasileiro](../pt-br/README-pt-br.md) | [한국어](../ko/README-ko.md) | [Español (España)](../es-es/README-es-es.md) | [Русский](../ru/README-ru.md)| [עברית](./docs/he/README-he.md)

<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">Aynı modern API ile <b>2kB</b> hızlı bir Moment.js alternatifi</p>
<br>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js, büyük ölçüde Moment.js uyumlu bir API ile modern tarayıcılar için tarih ve saatleri dönüştüren, doğrulayan, işleyen ve görüntüleyen minimalist bir JavaScript kütüphanesidir. Moment.js kullanıyorsanız, Day.js'i nasıl kullanacağınızı zaten biliyorsunuzdur.

```js
dayjs()
  .startOf('month')
  .add(1, 'day')
  .set('year', 2018)
  .format('YYYY-MM-DD HH:mm:ss')
```

- 🕒 Benzer Moment.js API & Kalıpları
- 💪 Değişmez
- 🔥 Zincirlenebilir
- 🌐 I18n destekler
- 📦 2kB boyutunda küçük bir kütaphane
- 👫 Bütün tarayıcılarda desteklenir

---

# Başlarken

### Dökümantasyon

Daha fazla bilgiye, API ve diğer dökümanlara [day.js.org](https://day.js.org/) websitesinden ulaşabilirsiniz.

## Kurulum

```console
npm install dayjs --save
```

📚[Kurulum Rehberi](https://day.js.org/docs/en/installation/installation)

## API

Tarihleri ve saatleri dönüştürmek, doğrulamak, işlemek ve görüntülemek için Day.js API'larını kullanmak kolaydır.

```javascript
dayjs('2018-08-08') // dönüştürme

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // belirli bir formatta görüntüleme

dayjs()
  .set('month', 3)
  .month() // görüntüleme & değer atama

dayjs().add(1, 'year') // değiştirme

dayjs().isBefore(dayjs()) // sorgulama
```

📚[API Referansı](https://day.js.org/docs/en/parse/parse)

## I18n

Day.js, uluslararasılaştırma için büyük desteğe sahiptir.

Ancak siz kullanmadığınız sürece bunların hiçbiri yapınıza dahil edilmeyecektir.

```javascript
import 'dayjs/locale/es' // isteğe göre yükle

dayjs.locale('tr') // yerel ayarı Türkçe olarak kullan

dayjs('2018-05-05')
  .locale('zh-cn')
  .format() //belirli bir durum için Basitleştirilmiş Çince formatında görüntüleme
```

📚[Uluslararasılaştırma](https://day.js.org/docs/en/i18n/i18n)

## Eklenti

Eklenti, işlevselliği genişletmek veya yeni özellikler eklemek için Day.js'e eklenebilen bağımsız bir modüldür.

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // isteğe göre yükle

dayjs.extend(advancedFormat) // eklentiyi kullan

dayjs().format('Q Do k kk X x') // diğer mevcut formatlar
```

📚[Eklenti Listesi](https://day.js.org/docs/en/plugin/plugin)

## Sponsorlar

Sponsor olarak bu projeye destek olun. Logonuz, web sayfanızın linki ile birlikte burada görünür. [[Sponsor Ol](https://opencollective.com/dayjs#sponsor)]

<a href="https://opencollective.com/dayjs/sponsor/0/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/1/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/2/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/dayjs/sponsor/3/website" target="_blank"><img src="https://opencollective.com/dayjs/sponsor/3/avatar.svg"></a>

## Katkıda Bulunanlar

Bu proje, katkıda bulunan tüm insanlar sayesinde mevcut.

Lütfen bize destek olmak için projeye 💖 yıldız 💖 verin. Teşekkürler.

Ve tüm destekçilerimize teşekkür ederiz! 🙏

<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>

## Lisans

Day.js, bir [MIT Lisansı](../../LICENSE) altında lisanslanmıştır.


================================================
FILE: docs/zh-cn/API-reference.md
================================================
### 提醒

文档已迁移至 [https://day.js.org](https://day.js.org)。


================================================
FILE: docs/zh-cn/I18n.md
================================================
### 提醒

文档已迁移至 [https://day.js.org](https://day.js.org)。


================================================
FILE: docs/zh-cn/Installation.md
================================================
### 提醒

文档已迁移至 [https://day.js.org](https://day.js.org)。


================================================
FILE: docs/zh-cn/Plugin.md
================================================
### 提醒

文档已迁移至 [https://day.js.org](https://day.js.org)。


================================================
FILE: docs/zh-cn/README.zh-CN.md
================================================
简体中文 | [English](../../README.md) | [日本語](../ja/README-ja.md) | [Português Brasileiro](../pt-br/README-pt-br.md) | [한국어](../ko/README-ko.md) | [Español (España)](../es-es/README-es-es.md) | [Русский](../ru/README-ru.md)

<p align="center"><a href="https://day.js.org/zh-CN/" target="_blank" rel="noopener noreferrer"><img width="550"
                                                                             src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
                                                                             alt="Day.js"></a></p>
<p align="center">Moment.js 的 <b>2kB</b> 轻量化方案,拥有同样强大的 API</p>
<br>
<p align="center">
    <a href="https://unpkg.com/dayjs/dayjs.min.js"><img
            src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
            alt="Gzip Size"></a>
    <a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square"
                                                       alt="NPM Version"></a>
    <a href="https://github.com/iamkun/dayjs/actions/workflows/check.yml"><img
            src="https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square" alt="Build Status"></a>
    <a href="https://codecov.io/gh/iamkun/dayjs"><img
            src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
    <a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
            src="https://img.shields.io/npm/l/dayjs.svg?style=flat-square" alt="License"></a>
    <br>
    <a href="https://saucelabs.com/u/dayjs">
        <img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
    </a>
</p>

> Day.js 是一个轻量的处理时间和日期的 JavaScript 库,和 Moment.js 的 API 设计保持完全一样. 如果您曾经用过 Moment.js, 那么您已经知道如何使用 Day.js

```js
dayjs()
  .startOf('month')
  .add(1, 'day')
  .set('year', 2018)
  .format('YYYY-MM-DD HH:mm:ss')
```

- 🕒 和 Moment.js 相同的 API 和用法
- 💪 不可变数据 (Immutable)
- 🔥 支持链式操作 (Chainable)
- 🌐 国际化 I18n
- 📦 仅 2kb 大小的微型库
- 👫 全浏览器兼容

---

## 快速开始

### 文档

访问 [day.js.org](https://day.js.org/) 网站查看更详细的文档

### 安装

```console
npm install dayjs --save
```

📚[安装指南](https://day.js.org/docs/zh-CN/installation/installation)

### API

Day.js 有很多 API 来解析、处理、校验、增减、展示时间和日期

```javascript
dayjs('2018-08-08') // 解析

dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // 展示

dayjs()
  .set('month', 3)
  .month() // 获取

dayjs().add(1, 'year') // 处理

dayjs().isBefore(dayjs()) // 查询
```

📚[API 参考](https://day.js.org/docs/zh-CN/parse/parse)

### 国际化 I18n

Day.js 支持国际化

但除非手动加载,多国语言默认是不会被打包到工程里的

```javascript
import 'dayjs/locale/es' // 按需加载

dayjs.locale('es') // 全局使用西班牙语

dayjs('2018-05-05')
  .locale('zh-cn')
  .format() // 在这个实例上使用简体中文
```

📚[国际化 I18n](https://day.js.org/docs/zh-CN/i18n/i18n)

### 插件

插件是一些独立的程序,可以给 Day.js 增加新功能和扩展已有功能

```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // 按需加载插件

dayjs.extend(advancedFormat) // 使用插件

dayjs().format('Q Do k kk X x') // 使用扩展后的API
```

📚[插件列表](https://day.js.org/docs/zh-CN/plugin/plugin)

## 开源协议

Day.js 遵循 [MIT 开源协议](../../LICENSE).


================================================
FILE: karma.sauce.conf.js
================================================
module.exports = function (config) {
  const batches = [
    {
      sl_chrome_26: {
        base: 'SauceLabs',
        browserName: 'chrome',
        version: '26'
      },
      sl_chrome: {
        base: 'SauceLabs',
        browserName: 'chrome'
      },
      sl_firefox_4: {
        base: 'SauceLabs',
        browserName: 'firefox',
        version: '4'
      },
      sl_firefox: {
        base: 'SauceLabs',
        browserName: 'firefox'
      },
      sl_mac_safari_8: {
        base: 'SauceLabs',
        browserName: 'safari',
        version: '8',
        platform: 'OS X 10.10'
      },
      sl_mac_safari: {
        base: 'SauceLabs',
        browserName: 'safari',
        platform: 'macOS 10.13'
      }
    },
    {
      sl_ie_9: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        version: '9'
      },
      sl_ie: {
        base: 'SauceLabs',
        browserName: 'internet explorer'
      },
      sl_edge_13: {
        base: 'SauceLabs',
        browserName: 'MicrosoftEdge',
        platform: 'Windows 10',
        version: '13'
      },
      sl_edge: {
        base: 'SauceLabs',
        browserName: 'MicrosoftEdge'
      }
    },
    {
      sl_ios_safari_9: {
        base: 'SauceLabs',
        browserName: 'iphone',
        version: '9.3'
      },
      sl_android_4_4: {
        base: 'SauceLabs',
        browserName: 'android',
        version: '4.4'
      }
    },
    {
      sl_ios_safari: {
        base: 'SauceLabs',
        browserName: 'iphone'
      },
      sl_android: {
        base: 'SauceLabs',
        browserName: 'android'
      }
    }
  ]

  const batch = batches[process.argv[4] || 0]
  config.set({
    basePath: '',
    frameworks: ['jasmine'],
    files: [
      'dayjs.min.js',
      'test/*spec.js'
    ],
    reporters: ['dots', 'saucelabs'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_DEBUG,
    sauceLabs: {
      // build: 'Manual',
      testName: 'Day.js'
    },
    captureTimeout: 200000, // try fix ios timeout
    customLaunchers: batch,
    browsers: Object.keys(batch),
    singleRun: true
  })
}


================================================
FILE: package.json
================================================
{
  "name": "dayjs",
  "version": "0.0.0-development",
  "description": "2KB immutable date time library alternative to Moment.js with the same modern API ",
  "main": "dayjs.min.js",
  "types": "index.d.ts",
  "scripts": {
    "test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest --coverage --coverageThreshold='{ \"global\": { \"lines\": 100} }'",
    "test-tz": "date && jest test/timezone.test --coverage=false",
    "lint": "./node_modules/.bin/eslint src/* test/* build/*",
    "prettier": "prettier --write \"docs/**/*.md\"",
    "babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm",
    "build": "cross-env BABEL_ENV=build node build && npm run size",
    "sauce": "npx karma start karma.sauce.conf.js",
    "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2  && npm run sauce -- 3",
    "size": "size-limit && gzip-size dayjs.min.js"
  },
  "pre-commit": [
    "lint"
  ],
  "size-limit": [
    {
      "limit": "2.99 KB",
      "path": "dayjs.min.js"
    }
  ],
  "jest": {
    "roots": [
      "test"
    ],
    "testRegex": "test/(.*?/)?.*test.js$",
    "testURL": "http://localhost",
    "coverageDirectory": "./coverage/",
    "collectCoverage": true,
    "collectCoverageFrom": [
      "src/**/*"
    ]
  },
  "keywords": [
    "dayjs",
    "date",
    "time",
    "immutable",
    "moment"
  ],
  "author": "iamkun",
  "license": "MIT",
  "homepage": "https://day.js.org",
  "repository": {
    "type": "git",
    "url": "https://github.com/iamkun/dayjs.git"
  },
  "devDependencies": {
    "@babel/cli": "^7.0.0-beta.44",
    "@babel/core": "^7.0.0-beta.44",
    "@babel/node": "^7.0.0-beta.44",
    "@babel/preset-env": "^7.0.0-beta.44",
    "@semantic-release/github": "^11.0.4",
    "babel-core": "^7.0.0-bridge.0",
    "babel-jest": "^22.4.3",
    "babel-plugin-external-helpers": "^6.22.0",
    "cross-env": "^5.1.6",
    "eslint": "^4.19.1",
    "eslint-config-airbnb-base": "^12.1.0",
    "eslint-plugin-import": "^2.10.0",
    "eslint-plugin-jest": "^21.15.0",
    "gzip-size-cli": "^2.1.0",
    "jasmine-core": "^2.99.1",
    "jest": "^22.4.3",
    "karma": "^2.0.2",
    "karma-jasmine": "^1.1.2",
    "karma-sauce-launcher": "^1.1.0",
    "mockdate": "^2.0.2",
    "moment": "2.29.2",
    "moment-timezone": "0.5.31",
    "ncp": "^2.0.0",
    "pre-commit": "^1.2.2",
    "prettier": "^1.16.1",
    "rollup": "^2.45.1",
    "rollup-plugin-babel": "^4.4.0",
    "rollup-plugin-terser": "^7.0.2",
    "size-limit": "^0.18.0",
    "typescript": "^2.8.3"
  }
}


================================================
FILE: patches/@semantic-release+github+11.0.4.patch
================================================
diff --git a/node_modules/@semantic-release/github/lib/success.js b/node_modules/@semantic-release/github/lib/success.js
index 29c8def..7e57161 100644
--- a/node_modules/@semantic-release/github/lib/success.js
+++ b/node_modules/@semantic-release/github/lib/success.js
@@ -118,6 +118,8 @@ export default async function success(pluginConfig, context, { Octokit }) {
     const uniqueAssociatedPRs = uniqBy(flatten(associatedPRs), "number");
 
     const prs = await pFilter(uniqueAssociatedPRs, async ({ number }) => {
+      console.log('number: ', number);
+      if (number < 2000) return false;
       const commits = await octokit.paginate(
         "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits",
         {


================================================
FILE: prettier.config.js
================================================
module.exports = {
  useTabs: false,
  printWidth: 80,
  singleQuote: true,
  trailingComma: 'none',
  semi: false
}


================================================
FILE: src/constant.js
================================================
export const SECONDS_A_MINUTE = 60
export const SECONDS_A_HOUR = SECONDS_A_MINUTE * 60
export const SECONDS_A_DAY = SECONDS_A_HOUR * 24
export const SECONDS_A_WEEK = SECONDS_A_DAY * 7

export const MILLISECONDS_A_SECOND = 1e3
export const MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND
export const MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND
export const MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND
export const MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND

// English locales
export const MS = 'millisecond'
export const S = 'second'
export const MIN = 'minute'
export const H = 'hour'
export const D = 'day'
export const W = 'week'
export const M = 'month'
export const Q = 'quarter'
export const Y = 'year'
export const DATE = 'date'

export const FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ'

export const INVALID_DATE_STRING = 'Invalid Date'

// regex
export const REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/
export const REGEX_FORMAT = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g


================================================
FILE: src/index.js
================================================
import * as C from './constant'
import en from './locale/en'
import U from './utils'

let L = 'en' // global locale
const Ls = {} // global loaded locale
Ls[L] = en

const IS_DAYJS = '$isDayjsObject'

// eslint-disable-next-line no-use-before-define
const isDayjs = d => d instanceof Dayjs || !!(d && d[IS_DAYJS])

const parseLocale = (preset, object, isLocal) => {
  let l
  if (!preset) return L
  if (typeof preset === 'string') {
    const presetLower = preset.toLowerCase()
    if (Ls[presetLower]) {
      l = presetLower
    }
    if (object) {
      Ls[presetLower] = object
      l = presetLower
    }
    const presetSplit = preset.split('-')
    if (!l && presetSplit.length > 1) {
      return parseLocale(presetSplit[0])
    }
  } else {
    const { name } = preset
    Ls[name] = preset
    l = name
  }
  if (!isLocal && l) L = l
  return l || (!isLocal && L)
}

const dayjs = function (date, c) {
  if (isDayjs(date)) {
    return date.clone()
  }
  // eslint-disable-next-line no-nested-ternary
  const cfg = typeof c === 'object' ? c : {}
  cfg.date = date
  cfg.args = arguments// eslint-disable-line prefer-rest-params
  return new Dayjs(cfg) // eslint-disable-line no-use-before-define
}

const wrapper = (date, instance) =>
  dayjs(date, {
    locale: instance.$L,
    utc: instance.$u,
    x: instance.$x,
    $offset: instance.$offset // todo: refactor; do not use this.$offset in you code
  })

const Utils = U // for plugin use
Utils.l = parseLocale
Utils.i = isDayjs
Utils.w = wrapper

const parseDate = (cfg) => {
  const { date, utc } = cfg
  if (date === null) return new Date(NaN) // null is invalid
  if (Utils.u(date)) return new Date() // today
  if (date instanceof Date) return new Date(date)
  if (typeof date === 'string' && !/Z$/i.test(date)) {
    const d = date.match(C.REGEX_PARSE)
    if (d) {
      const m = d[2] - 1 || 0
      const ms = (d[7] || '0').substring(0, 3)
      if (utc) {
        return new Date(Date.UTC(d[1], m, d[3]
          || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms))
      }
      return new Date(d[1], m, d[3]
        || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms)
    }
  }

  return new Date(date) // everything else
}

class Dayjs {
  constructor(cfg) {
    this.$L = parseLocale(cfg.locale, null, true)
    this.parse(cfg) // for plugin
    this.$x = this.$x || cfg.x || {}
    this[IS_DAYJS] = true
  }

  parse(cfg) {
    this.$d = parseDate(cfg)
    this.init()
  }

  init() {
    const { $d } = this
    this.$y = $d.getFullYear()
    this.$M = $d.getMonth()
    this.$D = $d.getDate()
    this.$W = $d.getDay()
    this.$H = $d.getHours()
    this.$m = $d.getMinutes()
    this.$s = $d.getSeconds()
    this.$ms = $d.getMilliseconds()
  }

  // eslint-disable-next-line class-methods-use-this
  $utils() {
    return Utils
  }

  isValid() {
    return !(this.$d.toString() === C.INVALID_DATE_STRING)
  }

  isSame(that, units) {
    const other = dayjs(that)
    return this.startOf(units) <= other && other <= this.endOf(units)
  }

  isAfter(that, units) {
    return dayjs(that) < this.startOf(units)
  }

  isBefore(that, units) {
    return this.endOf(units) < dayjs(that)
  }

  $g(input, get, set) {
    if (Utils.u(input)) return this[get]
    return this.set(set, input)
  }

  unix() {
    return Math.floor(this.valueOf() / 1000)
  }

  valueOf() {
    // timezone(hour) * 60 * 60 * 1000 => ms
    return this.$d.getTime()
  }

  startOf(units, startOf) { // startOf -> endOf
    const isStartOf = !Utils.u(startOf) ? startOf : true
    const unit = Utils.p(units)
    const instanceFactory = (d, m) => {
      const ins = Utils.w(this.$u ?
        Date.UTC(this.$y, m, d) : new Date(this.$y, m, d), this)
      return isStartOf ? ins : ins.endOf(C.D)
    }
    const instanceFactorySet = (method, slice) => {
      const argumentStart = [0, 0, 0, 0]
      const argumentEnd = [23, 59, 59, 999]
      return Utils.w(this.toDate()[method].apply( // eslint-disable-line prefer-spread
        this.toDate('s'),
        (isStartOf ? argumentStart : argumentEnd).slice(slice)
      ), this)
    }
    const { $W, $M, $D } = this
    const utcPad = `set${this.$u ? 'UTC' : ''}`
    switch (unit) {
      case C.Y:
        return isStartOf ? instanceFactory(1, 0) :
          instanceFactory(31, 11)
      case C.M:
        return isStartOf ? instanceFactory(1, $M) :
          instanceFactory(0, $M + 1)
      case C.W: {
        const weekStart = this.$locale().weekStart || 0
        const gap = ($W < weekStart ? $W + 7 : $W) - weekStart
        return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M)
      }
      case C.D:
      case C.DATE:
        return instanceFactorySet(`${utcPad}Hours`, 0)
      case C.H:
        return instanceFactorySet(`${utcPad}Minutes`, 1)
      case C.MIN:
        return instanceFactorySet(`${utcPad}Seconds`, 2)
      case C.S:
        return instanceFactorySet(`${utcPad}Milliseconds`, 3)
      default:
        return this.clone()
    }
  }

  endOf(arg) {
    return this.startOf(arg, false)
  }

  $set(units, int) { // private set
    const unit = Utils.p(units)
    const utcPad = `set${this.$u ? 'UTC' : ''}`
    const name = {
      [C.D]: `${utcPad}Date`,
      [C.DATE]: `${utcPad}Date`,
      [C.M]: `${utcPad}Month`,
      [C.Y]: `${utcPad}FullYear`,
      [C.H]: `${utcPad}Hours`,
      [C.MIN]: `${utcPad}Minutes`,
      [C.S]: `${utcPad}Seconds`,
      [C.MS]: `${utcPad}Milliseconds`
    }[unit]
    const arg = unit === C.D ? this.$D + (int - this.$W) : int

    if (unit === C.M || unit === C.Y) {
      // clone is for badMutable plugin
      const date = this.clone().set(C.DATE, 1)
      date.$d[name](arg)
      date.init()
      this.$d = date.set(C.DATE, Math.min(this.$D, date.daysInMonth())).$d
    } else if (name) this.$d[name](arg)

    this.init()
    return this
  }

  set(string, int) {
    return this.clone().$set(string, int)
  }

  get(unit) {
    return this[Utils.p(unit)]()
  }

  add(number, units) {
    number = Number(number) // eslint-disable-line no-param-reassign
    const unit = Utils.p(units)
    const instanceFactorySet = (n) => {
      const d = dayjs(this)
      return Utils.w(d.date(d.date() + Math.round(n * number)), this)
    }
    if (unit === C.M) {
      return this.set(C.M, this.$M + number)
    }
    if (unit === C.Y) {
      return this.set(C.Y, this.$y + number)
    }
    if (unit === C.D) {
      return instanceFactorySet(1)
    }
    if (unit === C.W) {
      return instanceFactorySet(7)
    }
    const step = {
      [C.MIN]: C.MILLISECONDS_A_MINUTE,
      [C.H]: C.MILLISECONDS_A_HOUR,
      [C.S]: C.MILLISECONDS_A_SECOND
    }[unit] || 1 // ms

    const nextTimeStamp = this.$d.getTime() + (number * step)
    return Utils.w(nextTimeStamp, this)
  }

  subtract(number, string) {
    return this.add(number * -1, string)
  }

  format(formatStr) {
    const locale = this.$locale()

    if (!this.isValid()) return locale.invalidDate || C.INVALID_DATE_STRING

    const str = formatStr || C.FORMAT_DEFAULT
    const zoneStr = Utils.z(this)
    const { $H, $m, $M } = this
    const {
      weekdays, months, meridiem
    } = locale
    const getShort = (arr, index, full, length) => (
      (arr && (arr[index] || arr(this, str))) || full[index].slice(0, length)
    )
    const get$H = num => (
      Utils.s($H % 12 || 12, num, '0')
    )

    const meridiemFunc = meridiem || ((hour, minute, isLowercase) => {
      const m = (hour < 12 ? 'AM' : 'PM')
      return isLowercase ? m.toLowerCase() : m
    })

    const matches = (match) => {
      switch (match) {
        case 'YY':
          return String(this.$y).slice(-2)
        case 'YYYY':
          return Utils.s(this.$y, 4, '0')
        case 'M':
          return $M + 1
        case 'MM':
          return Utils.s($M + 1, 2, '0')
        case 'MMM':
          return getShort(locale.monthsShort, $M, months, 3)
        case 'MMMM':
          return getShort(months, $M)
        case 'D':
          return this.$D
        case 'DD':
          return Utils.s(this.$D, 2, '0')
        case 'd':
          return String(this.$W)
        case 'dd':
          return getShort(locale.weekdaysMin, this.$W, weekdays, 2)
        case 'ddd':
          return getShort(locale.weekdaysShort, this.$W, weekdays, 3)
        case 'dddd':
          return weekdays[this.$W]
        case 'H':
          return String($H)
        case 'HH':
          return Utils.s($H, 2, '0')
        case 'h':
          return get$H(1)
        case 'hh':
          return get$H(2)
        case 'a':
          return meridiemFunc($H, $m, true)
        case 'A':
          return meridiemFunc($H, $m, false)
        case 'm':
          return String($m)
        case 'mm':
          return Utils.s($m, 2, '0')
        case 's':
          return String(this.$s)
        case 'ss':
          return Utils.s(this.$s, 2, '0')
        case 'SSS':
          return Utils.s(this.$ms, 3, '0')
        case 'Z':
          return zoneStr // 'ZZ' logic below
        default:
          break
      }
      return null
    }

    return str.replace(C.REGEX_FORMAT, (match, $1) => $1 || matches(match) || zoneStr.replace(':', '')) // 'ZZ'
  }

  utcOffset() {
    // Because a bug at FF24, we're rounding the timezone offset around 15 minutes
    // https://github.com/moment/moment/pull/1871
    return -Math.round(this.$d.getTimezoneOffset() / 15) * 15
  }

  diff(input, units, float) {
    const unit = Utils.p(units)
    const that = dayjs(input)
    const zoneDelta = (that.utcOffset() - this.utcOffset()) * C.MILLISECONDS_A_MINUTE
    const diff = this - that
    const getMonth = () => Utils.m(this, that)

    let result
    switch (unit) {
      case C.Y:
        result = getMonth() / 12
        break
      case C.M:
        result = getMonth()
        break
      case C.Q:
        result = getMonth() / 3
        break
      case C.W:
        result = (diff - zoneDelta) / C.MILLISECONDS_A_WEEK
        break
      case C.D:
        result = (diff - zoneDelta) / C.MILLISECONDS_A_DAY
        break
      case C.H:
        result = diff / C.MILLISECONDS_A_HOUR
        break
      case C.MIN:
        result = diff / C.MILLISECONDS_A_MINUTE
        break
      case C.S:
        result = diff / C.MILLISECONDS_A_SECOND
        break
      default:
        result = diff // milliseconds
        break
    }

    return float ? result : Utils.a(result)
  }

  daysInMonth() {
    return this.endOf(C.M).$D
  }

  $locale() { // get locale object
    return Ls[this.$L]
  }

  locale(preset, object) {
    if (!preset) return this.$L
    const that = this.clone()
    const nextLocaleName = parseLocale(preset, object, true)
    if (nextLocaleName) that.$L = nextLocaleName
    return that
  }

  clone() {
    return Utils.w(this.$d, this)
  }

  toDate() {
    return new Date(this.valueOf())
  }

  toJSON() {
    return this.isValid() ? this.toISOString() : null
  }

  toISOString() {
    // ie 8 return
    // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
    // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
    return this.$d.toISOString()
  }

  toString() {
    return this.$d.toUTCString()
  }
}

const proto = Dayjs.prototype
dayjs.prototype = proto;
[
  ['$ms', C.MS],
  ['$s', C.S],
  ['$m', C.MIN],
  ['$H', C.H],
  ['$W', C.D],
  ['$M', C.M],
  ['$y', C.Y],
  ['$D', C.DATE]
].forEach((g) => {
  proto[g[1]] = function (input) {
    return this.$g(input, g[0], g[1])
  }
})

dayjs.extend = (plugin, option) => {
  if (!plugin.$i) { // install plugin only once
    plugin(option, Dayjs, dayjs)
    plugin.$i = true
  }
  return dayjs
}

dayjs.locale = parseLocale

dayjs.isDayjs = isDayjs

dayjs.unix = timestamp => (
  dayjs(timestamp * 1e3)
)

dayjs.en = Ls[L]
dayjs.Ls = Ls
dayjs.p = {}
export default dayjs


================================================
FILE: src/locale/af.js
================================================
// Afrikaans [af]
import dayjs from 'dayjs'

const locale = {
  name: 'af',
  weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
  months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
  weekStart: 1,
  weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
  monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
  weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
  ordinal: n => n,
  formats: {
    LT: 'HH:mm',
    LTS: 'HH:mm:ss',
    L: 'DD/MM/YYYY',
    LL: 'D MMMM YYYY',
    LLL: 'D MMMM YYYY HH:mm',
    LLLL: 'dddd, D MMMM YYYY HH:mm'
  },
  relativeTime: {
    future: 'oor %s',
    past: '%s gelede',
    s: "'n paar sekondes",
    m: "'n minuut",
    mm: '%d minute',
    h: "'n uur",
    hh: '%d ure',
    d: "'n dag",
    dd: '%d dae',
    M: "'n maand",
    MM: '%d maande',
    y: "'n jaar",
    yy: '%d jaar'
  }
}

dayjs.locale(locale, null, true)

export default locale



================================================
FILE: src/locale/am.js
================================================
// Amharic [am]
import dayjs from 'dayjs'

const locale = {
  name: 'am',
  weekdays: 'እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ'.split('_'),
  weekdaysShort: 'እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ'.split('_'),
  weekdaysMin: 'እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ'.split('_'),
  months: 'ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር'.split('_'),
  monthsShort: 'ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም'.split('_'),
  weekStart: 1,
  yearStart: 4,
  relativeTime: {
    future: 'በ%s',
    past: '%s በፊት',
    s: 'ጥቂት ሰከንዶች',
    m: 'አንድ ደቂቃ',
    mm: '%d ደቂቃዎች',
    h: 'አንድ ሰዓት',
    hh: '%d ሰዓታት',
    d: 'አንድ ቀን',
    dd: '%d ቀናት',
    M: 'አንድ ወር',
    MM: '%d ወራት',
    y: 'አንድ ዓመት',
    yy: '%d ዓመታት'
  },
  formats: {
    LT: 'HH:mm',
    LTS: 'HH:mm:ss',
    L: 'DD/MM/YYYY',
    LL: 'MMMM D ፣ YYYY',
    LLL: 'MMMM D ፣ YYYY HH:mm',
    LLLL: 'dddd ፣ MMMM D ፣ YYYY HH:mm'
  },
  ordinal: n => `${n}ኛ`
}

dayjs.locale(locale, null, true)

export default locale


================================================
FILE: src/locale/ar-dz.js
================================================
// Arabic (Algeria) [ar-dz]
import dayjs from 'dayjs'

const locale = {
  name: 'ar-dz',
  weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  weekdaysMin: 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'),
  ordinal: n => n,
  formats: {
    LT: 'HH:mm',
    LTS: 'HH:mm:ss',
    L: 'DD/MM/YYYY',
    LL: 'D MMMM YYYY',
    LLL: 'D MMMM YYYY HH:mm',
    LLLL: 'dddd D MMMM YYYY HH:mm'
  },
  meridiem: hour => (hour > 12 ? 'م' : 'ص'),
  relativeTime: {
    future: 'في %s',
    past: 'منذ %s',
    s: 'ثوان',
    m: 'دقيقة',
    mm: '%d دقائق',
    h: 'ساعة',
    hh: '%d ساعات',
    d: 'يوم',
    dd: '%d أيام',
    M: 'شهر',
    MM: '%d أشهر',
    y: 'سنة',
    yy: '%d سنوات'
  }
}

dayjs.locale(locale, null, true)

export default locale



================================================
FILE: src/locale/ar-iq.js
================================================
//  Arabic (Iraq) [ar-iq]
import dayjs from 'dayjs'

const locale = {
  name: 'ar-iq',
  weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  months: 'كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول'.split('_'),
  weekStart: 1,
  weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  monthsShort: 'كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول'.split('_'),
  weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  ordinal: n => n,
  formats: {
    LT: 'HH:mm',
    LTS: 'HH:mm:ss',
    L: 'DD/MM/YYYY',
    LL: 'D MMMM YYYY',
    LLL: 'D MMMM YYYY HH:mm',
    LLLL: 'dddd D MMMM YYYY HH:mm'
  },
  meridiem: hour => (hour > 12 ? 'م' : 'ص'),
  relativeTime: {
    future: 'في %s',
    past: 'منذ %s',
    s: 'ثوان',
    m: 'دقيقة',
    mm: '%d دقائق',
    h: 'ساعة',
    hh: '%d ساعات',
    d: 'يوم',
    dd: '%d أيام',
    M: 'شهر',
    MM: '%d أشهر',
    y: 'سنة',
    yy: '%d سنوات'
  }
}

dayjs.locale(locale, null, true)

export default locale


================================================
FILE: src/locale/ar-kw.js
================================================
// Arabic (Kuwait) [ar-kw]
import dayjs from 'dayjs'

const locale = {
  name: 'ar-kw',
  weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  ordinal: n => n,
  formats: {
    LT: 'HH:mm',
    LTS: 'HH:mm:ss',
    L: 'DD/MM/YYYY',
    LL: 'D MMMM YYYY',
    LLL: 'D MMMM YYYY HH:mm',
    LLLL: 'dddd D MMMM YYYY HH:mm'
  },
  meridiem: hour => (hour > 12 ? 'م' : 'ص'),
  relativeTime: {
    future: 'في %s',
    past: 'منذ %s',
    s: 'ثوان',
    m: 'دقيقة',
    mm: '%d دقائق',
    h: 'ساعة',
    hh: '%d ساعات',
    d: 'يوم',
    dd: '%d أيام',
    M: 'شهر',
    MM: '%d أشهر',
    y: 'سنة',
    yy: '%d سنوات'
  }
}

dayjs.locale(locale, null, true)

export default locale



================================================
FILE: src/locale/ar-ly.js
================================================
// Arabic (Lybia) [ar-ly]
import dayjs from 'dayjs'

const locale = {
  name: 'ar-ly',
  weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  weekStart: 6,
  weekd
Download .txt
gitextract_xim833qs/

├── .editorconfig
├── .eslintrc.json
├── .github/
│   ├── FUNDING.yml
│   ├── ISSUE_TEMPLATE/
│   │   └── --bug-report.md
│   └── workflows/
│       ├── check.yml
│       ├── lint-test.yml
│       └── release.yml
├── .gitignore
├── .npmignore
├── .releaserc
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── babel.config.js
├── build/
│   ├── esm.js
│   ├── index.js
│   └── rollup.config.js
├── docs/
│   ├── demo/
│   │   └── index.js
│   ├── en/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   └── Plugin.md
│   ├── es-es/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-es-es.md
│   ├── fr/
│   │   └── README-fr.md
│   ├── he/
│   │   └── README-he.md
│   ├── ja/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-ja.md
│   ├── ko/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-ko.md
│   ├── pt-br/
│   │   ├── API-reference.md
│   │   ├── I18n.md
│   │   ├── Installation.md
│   │   ├── Plugin.md
│   │   └── README-pt-br.md
│   ├── ru/
│   │   ├── LICENSE-ru
│   │   └── README-ru.md
│   ├── si/
│   │   └── README-si.md
│   ├── sw/
│   │   └── README-sw.md
│   ├── tr/
│   │   └── README-tr.md
│   └── zh-cn/
│       ├── API-reference.md
│       ├── I18n.md
│       ├── Installation.md
│       ├── Plugin.md
│       └── README.zh-CN.md
├── karma.sauce.conf.js
├── package.json
├── patches/
│   └── @semantic-release+github+11.0.4.patch
├── prettier.config.js
├── src/
│   ├── constant.js
│   ├── index.js
│   ├── locale/
│   │   ├── af.js
│   │   ├── am.js
│   │   ├── ar-dz.js
│   │   ├── ar-iq.js
│   │   ├── ar-kw.js
│   │   ├── ar-ly.js
│   │   ├── ar-ma.js
│   │   ├── ar-sa.js
│   │   ├── ar-tn.js
│   │   ├── ar.js
│   │   ├── az.js
│   │   ├── be.js
│   │   ├── bg.js
│   │   ├── bi.js
│   │   ├── bm.js
│   │   ├── bn-bd.js
│   │   ├── bn.js
│   │   ├── bo.js
│   │   ├── br.js
│   │   ├── bs.js
│   │   ├── ca.js
│   │   ├── cs.js
│   │   ├── cv.js
│   │   ├── cy.js
│   │   ├── da.js
│   │   ├── de-at.js
│   │   ├── de-ch.js
│   │   ├── de.js
│   │   ├── dv.js
│   │   ├── el.js
│   │   ├── en-au.js
│   │   ├── en-ca.js
│   │   ├── en-gb.js
│   │   ├── en-ie.js
│   │   ├── en-il.js
│   │   ├── en-in.js
│   │   ├── en-nz.js
│   │   ├── en-sg.js
│   │   ├── en-tt.js
│   │   ├── en.js
│   │   ├── eo.js
│   │   ├── es-do.js
│   │   ├── es-mx.js
│   │   ├── es-pr.js
│   │   ├── es-us.js
│   │   ├── es.js
│   │   ├── et.js
│   │   ├── eu.js
│   │   ├── fa.js
│   │   ├── fi.js
│   │   ├── fo.js
│   │   ├── fr-ca.js
│   │   ├── fr-ch.js
│   │   ├── fr.js
│   │   ├── fy.js
│   │   ├── ga.js
│   │   ├── gd.js
│   │   ├── gl.js
│   │   ├── gom-latn.js
│   │   ├── gu.js
│   │   ├── he.js
│   │   ├── hi.js
│   │   ├── hr.js
│   │   ├── ht.js
│   │   ├── hu.js
│   │   ├── hy-am.js
│   │   ├── id.js
│   │   ├── is.js
│   │   ├── it-ch.js
│   │   ├── it.js
│   │   ├── ja.js
│   │   ├── jv.js
│   │   ├── ka.js
│   │   ├── kk.js
│   │   ├── km.js
│   │   ├── kn.js
│   │   ├── ko.js
│   │   ├── ku.js
│   │   ├── ky.js
│   │   ├── lb.js
│   │   ├── lo.js
│   │   ├── lt.js
│   │   ├── lv.js
│   │   ├── me.js
│   │   ├── mi.js
│   │   ├── mk.js
│   │   ├── ml.js
│   │   ├── mn.js
│   │   ├── mr.js
│   │   ├── ms-my.js
│   │   ├── ms.js
│   │   ├── mt.js
│   │   ├── my.js
│   │   ├── nb.js
│   │   ├── ne.js
│   │   ├── nl-be.js
│   │   ├── nl.js
│   │   ├── nn.js
│   │   ├── oc-lnc.js
│   │   ├── pa-in.js
│   │   ├── pl.js
│   │   ├── pt-br.js
│   │   ├── pt.js
│   │   ├── rn.js
│   │   ├── ro.js
│   │   ├── ru.js
│   │   ├── rw.js
│   │   ├── sd.js
│   │   ├── se.js
│   │   ├── si.js
│   │   ├── sk.js
│   │   ├── sl.js
│   │   ├── sq.js
│   │   ├── sr-cyrl.js
│   │   ├── sr.js
│   │   ├── ss.js
│   │   ├── sv-fi.js
│   │   ├── sv.js
│   │   ├── sw.js
│   │   ├── ta.js
│   │   ├── te.js
│   │   ├── tet.js
│   │   ├── tg.js
│   │   ├── th.js
│   │   ├── tk.js
│   │   ├── tl-ph.js
│   │   ├── tlh.js
│   │   ├── tr.js
│   │   ├── tzl.js
│   │   ├── tzm-latn.js
│   │   ├── tzm.js
│   │   ├── ug-cn.js
│   │   ├── uk.js
│   │   ├── ur.js
│   │   ├── uz-latn.js
│   │   ├── uz.js
│   │   ├── vi.js
│   │   ├── x-pseudo.js
│   │   ├── yo.js
│   │   ├── zh-cn.js
│   │   ├── zh-hk.js
│   │   ├── zh-tw.js
│   │   └── zh.js
│   ├── plugin/
│   │   ├── advancedFormat/
│   │   │   └── index.js
│   │   ├── arraySupport/
│   │   │   └── index.js
│   │   ├── badMutable/
│   │   │   └── index.js
│   │   ├── bigIntSupport/
│   │   │   └── index.js
│   │   ├── buddhistEra/
│   │   │   └── index.js
│   │   ├── calendar/
│   │   │   └── index.js
│   │   ├── customParseFormat/
│   │   │   └── index.js
│   │   ├── dayOfYear/
│   │   │   └── index.js
│   │   ├── devHelper/
│   │   │   └── index.js
│   │   ├── duration/
│   │   │   └── index.js
│   │   ├── isBetween/
│   │   │   └── index.js
│   │   ├── isLeapYear/
│   │   │   └── index.js
│   │   ├── isMoment/
│   │   │   └── index.js
│   │   ├── isSameOrAfter/
│   │   │   └── index.js
│   │   ├── isSameOrBefore/
│   │   │   └── index.js
│   │   ├── isToday/
│   │   │   └── index.js
│   │   ├── isTomorrow/
│   │   │   └── index.js
│   │   ├── isYesterday/
│   │   │   └── index.js
│   │   ├── isoWeek/
│   │   │   └── index.js
│   │   ├── isoWeeksInYear/
│   │   │   └── index.js
│   │   ├── localeData/
│   │   │   └── index.js
│   │   ├── localizedFormat/
│   │   │   ├── index.js
│   │   │   └── utils.js
│   │   ├── minMax/
│   │   │   └── index.js
│   │   ├── negativeYear/
│   │   │   └── index.js
│   │   ├── objectSupport/
│   │   │   └── index.js
│   │   ├── pluralGetSet/
│   │   │   └── index.js
│   │   ├── preParsePostFormat/
│   │   │   └── index.js
│   │   ├── quarterOfYear/
│   │   │   └── index.js
│   │   ├── relativeTime/
│   │   │   └── index.js
│   │   ├── timezone/
│   │   │   └── index.js
│   │   ├── toArray/
│   │   │   └── index.js
│   │   ├── toObject/
│   │   │   └── index.js
│   │   ├── updateLocale/
│   │   │   └── index.js
│   │   ├── utc/
│   │   │   └── index.js
│   │   ├── weekOfYear/
│   │   │   └── index.js
│   │   ├── weekYear/
│   │   │   └── index.js
│   │   └── weekday/
│   │       └── index.js
│   └── utils.js
├── test/
│   ├── __mocks__/
│   │   └── dayjs.js
│   ├── browser.spec.js
│   ├── comparison.test.js
│   ├── constructor.test.js
│   ├── display.test.js
│   ├── get-set.test.js
│   ├── issues/
│   │   ├── issue2027.correct-order.test.js
│   │   └── issue2027.swapped-order.test.js
│   ├── locale/
│   │   ├── ar-dz.test.js
│   │   ├── ar-iq.test.js
│   │   ├── ar-kw.test.js
│   │   ├── ar-ly.test.js
│   │   ├── ar-ma.test.js
│   │   ├── ar-sa.test.js
│   │   ├── ar-tn.test.js
│   │   ├── ar.test.js
│   │   ├── be.test.js
│   │   ├── bg.test.js
│   │   ├── bn-bd.test.js
│   │   ├── bn.test.js
│   │   ├── br.test.js
│   │   ├── cs.test.js
│   │   ├── de.test.js
│   │   ├── en.test.js
│   │   ├── et.test.js
│   │   ├── fi.test.js
│   │   ├── he.test.js
│   │   ├── hr.test.js
│   │   ├── hu.test.js
│   │   ├── is.test.js
│   │   ├── it-ch.test.js
│   │   ├── it.test.js
│   │   ├── ja.test.js
│   │   ├── keys.test.js
│   │   ├── ku.test.js
│   │   ├── lt.test.js
│   │   ├── pl.test.js
│   │   ├── ru.test.js
│   │   ├── sk.test.js
│   │   ├── sl.test.js
│   │   ├── sr-cyrl.test.js
│   │   ├── sr.test.js
│   │   ├── sv-fi.test.js
│   │   ├── sv.test.js
│   │   ├── uk.test.js
│   │   ├── zh-cn.test.js
│   │   ├── zh-hk.test.js
│   │   ├── zh-tw.test.js
│   │   └── zh.test.js
│   ├── locale.test.js
│   ├── manipulate.test.js
│   ├── parse.test.js
│   ├── plugin/
│   │   ├── advancedFormat.test.js
│   │   ├── arraySupport.test.js
│   │   ├── badMutable.test.js
│   │   ├── bigIntSupport.test.js
│   │   ├── buddhistEra.test.js
│   │   ├── calendar.test.js
│   │   ├── customParseFormat.test.js
│   │   ├── dayOfYear.test.js
│   │   ├── declarations.test.js
│   │   ├── devHelper.test.js
│   │   ├── duration.test.js
│   │   ├── isBetween.test.js
│   │   ├── isLeapYear.test.js
│   │   ├── isMoment.test.js
│   │   ├── isSameOrAfter.test.js
│   │   ├── isSameOrBefore.test.js
│   │   ├── isToday.test.js
│   │   ├── isTomorrow.test.js
│   │   ├── isYesterday.test.js
│   │   ├── isoWeek.test.js
│   │   ├── isoWeeksInYear.test.js
│   │   ├── localeData.test.js
│   │   ├── localizedFormat.test.js
│   │   ├── minMax.test.js
│   │   ├── negativeYear.test.js
│   │   ├── objectSupport.test.js
│   │   ├── pluralGetSet.test.js
│   │   ├── preParsePostFormat.test.js
│   │   ├── quarterOfYear.test.js
│   │   ├── relativeTime.test.js
│   │   ├── timezone.test.js
│   │   ├── toArray.test.js
│   │   ├── toObject.test.js
│   │   ├── updateLocale.test.js
│   │   ├── utc-utcOffset.test.js
│   │   ├── utc.test.js
│   │   ├── weekOfYear.test.js
│   │   ├── weekYear.test.js
│   │   └── weekday.test.js
│   ├── plugin.test.js
│   ├── query.test.js
│   ├── timezone.test.js
│   └── utils.test.js
└── types/
    ├── index.d.ts
    ├── locale/
    │   ├── index.d.ts
    │   └── types.d.ts
    └── plugin/
        ├── advancedFormat.d.ts
        ├── arraySupport.d.ts
        ├── badMutable.d.ts
        ├── bigIntSupport.d.ts
        ├── buddhistEra.d.ts
        ├── calendar.d.ts
        ├── customParseFormat.d.ts
        ├── dayOfYear.d.ts
        ├── devHelper.d.ts
        ├── duration.d.ts
        ├── isBetween.d.ts
        ├── isLeapYear.d.ts
        ├── isMoment.d.ts
        ├── isSameOrAfter.d.ts
        ├── isSameOrBefore.d.ts
        ├── isToday.d.ts
        ├── isTomorrow.d.ts
        ├── isYesterday.d.ts
        ├── isoWeek.d.ts
        ├── isoWeeksInYear.d.ts
        ├── localeData.d.ts
        ├── localizedFormat.d.ts
        ├── minMax.d.ts
        ├── negativeYear.d.ts
        ├── objectSupport.d.ts
        ├── pluralGetSet.d.ts
        ├── preParsePostFormat.d.ts
        ├── quarterOfYear.d.ts
        ├── relativeTime.d.ts
        ├── timezone.d.ts
        ├── toArray.d.ts
        ├── toObject.d.ts
        ├── updateLocale.d.ts
        ├── utc.d.ts
        ├── weekOfYear.d.ts
        ├── weekYear.d.ts
        └── weekday.d.ts
Download .txt
SYMBOL INDEX (202 symbols across 63 files)

FILE: build/index.js
  function build (line 19) | async function build(option) {
  function listLocaleJson (line 24) | async function listLocaleJson(localeArr) {

FILE: src/constant.js
  constant SECONDS_A_MINUTE (line 1) | const SECONDS_A_MINUTE = 60
  constant SECONDS_A_HOUR (line 2) | const SECONDS_A_HOUR = SECONDS_A_MINUTE * 60
  constant SECONDS_A_DAY (line 3) | const SECONDS_A_DAY = SECONDS_A_HOUR * 24
  constant SECONDS_A_WEEK (line 4) | const SECONDS_A_WEEK = SECONDS_A_DAY * 7
  constant MILLISECONDS_A_SECOND (line 6) | const MILLISECONDS_A_SECOND = 1e3
  constant MILLISECONDS_A_MINUTE (line 7) | const MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND
  constant MILLISECONDS_A_HOUR (line 8) | const MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND
  constant MILLISECONDS_A_DAY (line 9) | const MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND
  constant MILLISECONDS_A_WEEK (line 10) | const MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND
  constant MIN (line 15) | const MIN = 'minute'
  constant DATE (line 22) | const DATE = 'date'
  constant FORMAT_DEFAULT (line 24) | const FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ'
  constant INVALID_DATE_STRING (line 26) | const INVALID_DATE_STRING = 'Invalid Date'
  constant REGEX_PARSE (line 29) | const REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2...
  constant REGEX_FORMAT (line 30) | const REGEX_FORMAT = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{...

FILE: src/index.js
  constant IS_DAYJS (line 9) | const IS_DAYJS = '$isDayjsObject'
  class Dayjs (line 85) | class Dayjs {
    method constructor (line 86) | constructor(cfg) {
    method parse (line 93) | parse(cfg) {
    method init (line 98) | init() {
    method $utils (line 111) | $utils() {
    method isValid (line 115) | isValid() {
    method isSame (line 119) | isSame(that, units) {
    method isAfter (line 124) | isAfter(that, units) {
    method isBefore (line 128) | isBefore(that, units) {
    method $g (line 132) | $g(input, get, set) {
    method unix (line 137) | unix() {
    method valueOf (line 141) | valueOf() {
    method startOf (line 146) | startOf(units, startOf) { // startOf -> endOf
    method endOf (line 190) | endOf(arg) {
    method $set (line 194) | $set(units, int) { // private set
    method set (line 221) | set(string, int) {
    method get (line 225) | get(unit) {
    method add (line 229) | add(number, units) {
    method subtract (line 258) | subtract(number, string) {
    method format (line 262) | format(formatStr) {
    method utcOffset (line 344) | utcOffset() {
    method diff (line 350) | diff(input, units, float) {
    method daysInMonth (line 391) | daysInMonth() {
    method $locale (line 395) | $locale() { // get locale object
    method locale (line 399) | locale(preset, object) {
    method clone (line 407) | clone() {
    method toDate (line 411) | toDate() {
    method toJSON (line 415) | toJSON() {
    method toISOString (line 419) | toISOString() {
    method toString (line 426) | toString() {

FILE: src/locale/ar.js
  method preparse (line 62) | preparse(string) {
  method postformat (line 70) | postformat(string) {

FILE: src/locale/be.js
  constant MONTHS_IN_FORMAT (line 10) | const MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/
  function plural (line 12) | function plural(word, num) {
  function relativeTimeWithPlural (line 16) | function relativeTimeWithPlural(number, withoutSuffix, key) {

FILE: src/locale/bn-bd.js
  method preparse (line 38) | preparse(string) {
  method postformat (line 41) | postformat(string) {

FILE: src/locale/bn.js
  method preparse (line 37) | preparse(string) {
  method postformat (line 40) | postformat(string) {

FILE: src/locale/br.js
  function lastNumber (line 4) | function lastNumber(number) {
  function softMutation (line 10) | function softMutation(text) {
  function mutation (line 18) | function mutation(text, number) {
  function relativeTimeWithMutation (line 24) | function relativeTimeWithMutation(number, withoutSuffix, key) {
  function specialMutationForYears (line 32) | function specialMutationForYears(number) {

FILE: src/locale/cs.js
  function plural (line 4) | function plural(n) {
  function translate (line 8) | function translate(number, withoutSuffix, key, isFuture) {

FILE: src/locale/de-at.js
  function relativeTimeFormatter (line 18) | function relativeTimeFormatter(number, withoutSuffix, key) {

FILE: src/locale/de-ch.js
  function relativeTimeFormatter (line 18) | function relativeTimeFormatter(number, withoutSuffix, key) {

FILE: src/locale/de.js
  function relativeTimeFormatter (line 18) | function relativeTimeFormatter(number, withoutSuffix, key) {

FILE: src/locale/et.js
  function relativeTimeWithTense (line 4) | function relativeTimeWithTense(number, withoutSuffix, key, isFuture) {

FILE: src/locale/fi.js
  function relativeTimeFormatter (line 4) | function relativeTimeFormatter(number, withoutSuffix, key, isFuture) {

FILE: src/locale/he.js
  function relativeTimeFormatter (line 23) | function relativeTimeFormatter(number, withoutSuffix, key) {

FILE: src/locale/hr.js
  constant MONTHS_IN_FORMAT (line 6) | const MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/

FILE: src/locale/is.js
  function resolveTemplate (line 18) | function resolveTemplate(key, number, isFuture, withoutSuffix) {
  function relativeTimeFormatter (line 37) | function relativeTimeFormatter(number, withoutSuffix, key, isFuture) {

FILE: src/locale/ku.js
  method preparse (line 53) | preparse(string) {
  method postformat (line 58) | postformat(string) {

FILE: src/locale/lt.js
  constant MONTHS_IN_FORMAT (line 7) | const MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*...

FILE: src/locale/pl.js
  function plural (line 4) | function plural(n) {
  function translate (line 8) | function translate(number, withoutSuffix, key) {
  constant MONTHS_IN_FORMAT (line 29) | const MONTHS_IN_FORMAT = /D MMMM/

FILE: src/locale/ru.js
  constant MONTHS_IN_FORMAT (line 10) | const MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/
  function plural (line 12) | function plural(word, num) {
  function relativeTimeWithPlural (line 16) | function relativeTimeWithPlural(number, withoutSuffix, key) {

FILE: src/locale/sk.js
  function plural (line 4) | function plural(n) {
  function translate (line 9) | function translate(number, withoutSuffix, key, isFuture) {

FILE: src/locale/sl.js
  function dual (line 4) | function dual(n) {
  function threeFour (line 8) | function threeFour(n) {
  function translate (line 13) | function translate(number, withoutSuffix, key, isFuture) {

FILE: src/locale/sr-cyrl.js
  method correctGrammarCase (line 17) | correctGrammarCase(number, wordKey) {
  method relativeTimeFormatter (line 23) | relativeTimeFormatter(number, withoutSuffix, key, isFuture) {

FILE: src/locale/sr.js
  method correctGrammarCase (line 17) | correctGrammarCase(number, wordKey) {
  method relativeTimeFormatter (line 23) | relativeTimeFormatter(number, withoutSuffix, key, isFuture) {

FILE: src/locale/uk.js
  constant MONTHS_IN_FORMAT (line 7) | const MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/
  function plural (line 9) | function plural(word, num) {
  function relativeTimeWithPlural (line 13) | function relativeTimeWithPlural(number, withoutSuffix, key) {

FILE: src/plugin/customParseFormat/index.js
  function offsetFromString (line 21) | function offsetFromString(string) {
  function correctHours (line 131) | function correctHours(time) {
  function makeParser (line 146) | function makeParser(format) {

FILE: src/plugin/duration/index.js
  constant MILLISECONDS_A_YEAR (line 9) | const MILLISECONDS_A_YEAR = MILLISECONDS_A_DAY * 365
  constant MILLISECONDS_A_MONTH (line 10) | const MILLISECONDS_A_MONTH = MILLISECONDS_A_YEAR / 12
  constant DURATION_REGEX_PARSE (line 12) | const DURATION_REGEX_PARSE = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-...
  constant DURATION_REGEX_FORMAT (line 13) | const DURATION_REGEX_FORMAT = /\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2...
  class Duration (line 60) | class Duration {
    method constructor (line 61) | constructor(input, unit, locale) {
    method calMilliseconds (line 104) | calMilliseconds() {
    method parseFromMilliseconds (line 110) | parseFromMilliseconds() {
    method toISOString (line 127) | toISOString() {
    method toJSON (line 163) | toJSON() {
    method format (line 167) | format(formatStr) {
    method as (line 188) | as(unit) {
    method get (line 192) | get(unit) {
    method add (line 205) | add(input, unit, isSubtract) {
    method subtract (line 218) | subtract(input, unit) {
    method locale (line 222) | locale(l) {
    method clone (line 228) | clone() {
    method humanize (line 232) | humanize(withSuffix) {
    method valueOf (line 239) | valueOf() {
    method milliseconds (line 243) | milliseconds() { return this.get('milliseconds') }
    method asMilliseconds (line 244) | asMilliseconds() { return this.as('milliseconds') }
    method seconds (line 245) | seconds() { return this.get('seconds') }
    method asSeconds (line 246) | asSeconds() { return this.as('seconds') }
    method minutes (line 247) | minutes() { return this.get('minutes') }
    method asMinutes (line 248) | asMinutes() { return this.as('minutes') }
    method hours (line 249) | hours() { return this.get('hours') }
    method asHours (line 250) | asHours() { return this.as('hours') }
    method days (line 251) | days() { return this.get('days') }
    method asDays (line 252) | asDays() { return this.as('days') }
    method weeks (line 253) | weeks() { return this.get('weeks') }
    method asWeeks (line 254) | asWeeks() { return this.as('weeks') }
    method months (line 255) | months() { return this.get('months') }
    method asMonths (line 256) | asMonths() { return this.as('months') }
    method years (line 257) | years() { return this.get('years') }
    method asYears (line 258) | asYears() { return this.as('years') }

FILE: src/plugin/relativeTime/index.js
  function fromTo (line 73) | function fromTo(input, withoutSuffix, instance, isFrom) {

FILE: src/plugin/utc/index.js
  constant REGEX_VALID_OFFSET_FORMAT (line 3) | const REGEX_VALID_OFFSET_FORMAT = /[+-]\d\d(?::?\d\d)?/g
  constant REGEX_OFFSET_HOURS_MINUTES_FORMAT (line 4) | const REGEX_OFFSET_HOURS_MINUTES_FORMAT = /([+-]|\d\d)/g
  function offsetFromString (line 6) | function offsetFromString(value = '') {

FILE: test/locale.test.js
  constant NOT_SUPPORTED_LOCALE_STRING (line 15) | const NOT_SUPPORTED_LOCALE_STRING = 'not_supported_locale_string'

FILE: test/plugin/preParsePostFormat.test.js
  method preparse (line 51) | preparse(string) {
  method postformat (line 61) | postformat(string) {

FILE: test/plugin/timezone.test.js
  constant VAN (line 21) | const VAN = 'America/Vancouver'
  constant DEN (line 22) | const DEN = 'America/Denver'
  constant TOKYO (line 23) | const TOKYO = 'Asia/Tokyo'
  constant PARIS (line 24) | const PARIS = 'Europe/Paris'

FILE: types/index.d.ts
  type ConfigTypeMap (line 12) | interface ConfigTypeMap {
  type ConfigType (line 16) | type ConfigType = ConfigTypeMap[keyof ConfigTypeMap]
  type FormatObject (line 18) | interface FormatObject { locale?: string, format?: string, utc?: boolean }
  type OptionType (line 20) | type OptionType = FormatObject | string | string[]
  type UnitTypeShort (line 22) | type UnitTypeShort = 'd' | 'D' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms'
  type UnitTypeLong (line 24) | type UnitTypeLong = 'millisecond' | 'second' | 'minute' | 'hour' | 'day'...
  type UnitTypeLongPlural (line 26) | type UnitTypeLongPlural = 'milliseconds' | 'seconds' | 'minutes' | 'hour...
  type UnitType (line 28) | type UnitType = UnitTypeLong | UnitTypeLongPlural | UnitTypeShort;
  type OpUnitType (line 30) | type OpUnitType = UnitType | "week" | "weeks" | 'w';
  type QUnitType (line 31) | type QUnitType = UnitType | "quarter" | "quarters" | 'Q';
  type ManipulateType (line 32) | type ManipulateType = Exclude<OpUnitType, 'date' | 'dates'>;
  class Dayjs (line 33) | class Dayjs {
  type PluginFunc (line 418) | type PluginFunc<T = unknown> = (option: T, c: typeof Dayjs, d: typeof da...

FILE: types/locale/index.d.ts
  type Locale (line 5) | interface Locale extends ILocale {}

FILE: types/locale/types.d.ts
  type ILocale (line 1) | interface ILocale {

FILE: types/plugin/arraySupport.d.ts
  type ConfigTypeMap (line 4) | interface ConfigTypeMap {

FILE: types/plugin/bigIntSupport.d.ts
  type ConfigTypeMap (line 4) | interface ConfigTypeMap {

FILE: types/plugin/calendar.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/customParseFormat.d.ts
  type PluginOptions (line 3) | interface PluginOptions {

FILE: types/plugin/dayOfYear.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/duration.d.ts
  type DurationInputType (line 12) | type DurationInputType = string | number | object
  type DurationAddType (line 16) | type DurationAddType = number | object | Duration
  type DurationUnitsObjectType (line 18) | type DurationUnitsObjectType = Partial<{
  type DurationUnitType (line 21) | type DurationUnitType = Exclude<OpUnitType, "date" | "dates">
  type CreateDurationType (line 22) | type CreateDurationType =
  type AddDurationType (line 26) | type AddDurationType = CreateDurationType & ((duration: Duration) => Dur...
  type Duration (line 28) | interface Duration {
  type Dayjs (line 78) | interface Dayjs {

FILE: types/plugin/isBetween.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/isLeapYear.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/isSameOrAfter.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/isSameOrBefore.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/isToday.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/isTomorrow.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/isYesterday.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/isoWeek.d.ts
  type ISOUnitType (line 6) | type ISOUnitType = OpUnitType | 'isoWeek';
  type Dayjs (line 9) | interface Dayjs {

FILE: types/plugin/isoWeeksInYear.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/localeData.d.ts
  type WeekdayNames (line 7) | type WeekdayNames = [string, string, string, string, string, string, str...
  type MonthNames (line 8) | type MonthNames = [string, string, string, string, string, string, strin...
  type InstanceLocaleDataReturn (line 10) | interface InstanceLocaleDataReturn {
  type GlobalLocaleDataReturn (line 22) | interface GlobalLocaleDataReturn {
  type Dayjs (line 34) | interface Dayjs {

FILE: types/plugin/objectSupport.d.ts
  type Dayjs (line 7) | interface Dayjs {
  type ConfigTypeMap (line 13) | interface ConfigTypeMap {

FILE: types/plugin/pluralGetSet.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/quarterOfYear.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/relativeTime.d.ts
  type RelativeTimeThreshold (line 3) | interface RelativeTimeThreshold {
  type RelativeTimeOptions (line 9) | interface RelativeTimeOptions {
  type Dayjs (line 18) | interface Dayjs {

FILE: types/plugin/timezone.d.ts
  type Dayjs (line 7) | interface Dayjs {
  type DayjsTimezone (line 12) | interface DayjsTimezone {

FILE: types/plugin/toArray.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/toObject.d.ts
  type DayjsObject (line 6) | interface DayjsObject {
  type Dayjs (line 17) | interface Dayjs {

FILE: types/plugin/utc.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/weekOfYear.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/weekYear.d.ts
  type Dayjs (line 7) | interface Dayjs {

FILE: types/plugin/weekday.d.ts
  type Dayjs (line 7) | interface Dayjs {
Condensed preview — 378 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (817K chars).
[
  {
    "path": ".editorconfig",
    "chars": 94,
    "preview": "root = true\n\n[*]\ncharset = utf-8\nend_of_line = lf\ninsert_final_newline = true\nindent_size = 2\n"
  },
  {
    "path": ".eslintrc.json",
    "chars": 582,
    "preview": "{\n  \"extends\": \"airbnb-base\",\n  \"plugins\": [\n    \"jest\"\n  ],\n  \"env\": {\n    \"jest/globals\": true\n  },\n  \"globals\": {\n   "
  },
  {
    "path": ".github/FUNDING.yml",
    "chars": 599,
    "preview": "# These are supported funding model platforms\n\ngithub: [iamkun]\npatreon: # Replace with a single Patreon username\nopen_c"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/--bug-report.md",
    "chars": 430,
    "preview": "---\nname: \"\\U0001F4A9Bug report\"\nabout: Create a report to help us improve\ntitle: ''\nlabels: ''\nassignees: ''\n\n---\n\n**De"
  },
  {
    "path": ".github/workflows/check.yml",
    "chars": 178,
    "preview": "name: Lint & Unit Test\non:\n  push:\n    branches: [dev]\n  pull_request:\n    branches: [dev]\n\njobs:\n  check:\n    uses: ./."
  },
  {
    "path": ".github/workflows/lint-test.yml",
    "chars": 725,
    "preview": "on:\n  workflow_call:\n    secrets:\n      CODECOV_TOKEN:\n        required: false\n\njobs:\n  lint-and-test:\n    runs-on: ubun"
  },
  {
    "path": ".github/workflows/release.yml",
    "chars": 1051,
    "preview": "name: Release\non:\n  push:\n    branches: [master]\n\njobs:\n  lint-and-test:\n    uses: ./.github/workflows/lint-test.yml\n   "
  },
  {
    "path": ".gitignore",
    "chars": 166,
    "preview": "# OSX\n.DS_Store\n\n# IDE\n.idea\n.vscode\n\n# npm\nnode_modules\nyarn.lock\n\n# jest\ncoverage\n\n# build\n/locale\n/plugin\n/dayjs.min."
  },
  {
    "path": ".npmignore",
    "chars": 266,
    "preview": "# OSX\n.DS_Store\n\n# IDE\n.idea\n\n# npm\nnode_modules\nyarn.lock\npackage-lock.json\n\n# jest\ncoverage\n\n# dev\nsrc\ntest\ntypes\nbuil"
  },
  {
    "path": ".releaserc",
    "chars": 220,
    "preview": "{\n  \"branches\": [\"master\"],\n  \"prepare\": [\n    {\n      \"path\": \"@semantic-release/changelog\"\n    },\n    [\n      \"@semant"
  },
  {
    "path": "CHANGELOG.md",
    "chars": 83047,
    "preview": "## [1.11.20](https://github.com/iamkun/dayjs/compare/v1.11.19...v1.11.20) (2026-03-12)\n\n\n### Bug Fixes\n\n* Update locale "
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 1130,
    "preview": "# Contributing to Day.js\n\nThank you for taking the time to read our contribution guidelines. You can start contributing "
  },
  {
    "path": "LICENSE",
    "chars": 1072,
    "preview": "MIT License\n\nCopyright (c) 2018-present, iamkun\n\nPermission is hereby granted, free of charge, to any person obtaining a"
  },
  {
    "path": "README.md",
    "chars": 8145,
    "preview": "English | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/REA"
  },
  {
    "path": "babel.config.js",
    "chars": 277,
    "preview": "module.exports = {\n  env: {\n    test: {\n      presets: [\n        '@babel/preset-env'\n      ]\n    },\n    build: {\n      p"
  },
  {
    "path": "build/esm.js",
    "chars": 1701,
    "preview": "const fs = require('fs')\nconst path = require('path')\nconst util = require('util')\nconst { ncp } = require('ncp')\n\nconst"
  },
  {
    "path": "build/index.js",
    "chars": 2181,
    "preview": "const rollup = require('rollup')\nconst configFactory = require('./rollup.config')\nconst fs = require('fs')\nconst util = "
  },
  {
    "path": "build/rollup.config.js",
    "chars": 532,
    "preview": "const babel = require('rollup-plugin-babel')\nconst { terser } = require('rollup-plugin-terser')\n\nmodule.exports = (confi"
  },
  {
    "path": "docs/demo/index.js",
    "chars": 867,
    "preview": "import dayjs from 'dayjs'\n// basic usage\ndayjs().format()\n\n// parse\ndayjs('2018-08-08').format()\n\n// format\ndayjs().form"
  },
  {
    "path": "docs/en/API-reference.md",
    "chars": 79,
    "preview": "### Note\n\nThe documents are moved to [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/en/I18n.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/en/Installation.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/en/Plugin.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/es-es/API-reference.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/es-es/I18n.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/es-es/Installation.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/es-es/Plugin.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/es-es/README-es-es.md",
    "chars": 5183,
    "preview": "Español (España) | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Portuguê"
  },
  {
    "path": "docs/fr/README-fr.md",
    "chars": 7654,
    "preview": "Français | [English](../../README.md) | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Portuguê"
  },
  {
    "path": "docs/he/README-he.md",
    "chars": 7114,
    "preview": "<div dir=\"rtl\">\n\nעברית | [English](../../README.md)  | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja."
  },
  {
    "path": "docs/ja/API-reference.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ja/I18n.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ja/Installation.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ja/Plugin.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ja/README-ja.md",
    "chars": 3482,
    "preview": "日本語 | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [Português Brasileiro](../pt-br/README-pt-br.md) |"
  },
  {
    "path": "docs/ko/API-reference.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ko/I18n.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ko/Installation.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ko/Plugin.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/ko/README-ko.md",
    "chars": 3610,
    "preview": "한국어 | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Português Brasileiro]"
  },
  {
    "path": "docs/pt-br/API-reference.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/pt-br/I18n.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/pt-br/Installation.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/pt-br/Plugin.md",
    "chars": 80,
    "preview": "### Note\n\nThe documents are moved to  [https://day.js.org](https://day.js.org).\n"
  },
  {
    "path": "docs/pt-br/README-pt-br.md",
    "chars": 5035,
    "preview": "Português Brasileiro | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [한국어]"
  },
  {
    "path": "docs/ru/LICENSE-ru",
    "chars": 1295,
    "preview": "Лицензия MIT\r\n\r\nАвторское право (c) с 2018 года по настоящее время, iamkun\r\n\r\nДанная лицензия разрешает лицам, получивши"
  },
  {
    "path": "docs/ru/README-ru.md",
    "chars": 6106,
    "preview": "Русский | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Português Brasile"
  },
  {
    "path": "docs/si/README-si.md",
    "chars": 6450,
    "preview": "සිංහල | [English](../../README.md) | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português B"
  },
  {
    "path": "docs/sw/README-sw.md",
    "chars": 7307,
    "preview": "Swahili | [English](../../README.md) | [Kireno](../pt-br/README-pt-br.md) | [Kichina](../zh-cn/README.zh-CN.md) | [Kijap"
  },
  {
    "path": "docs/tr/README-tr.md",
    "chars": 6052,
    "preview": "Türkçe | [English](../../README.md) | [简体中文](../zh-cn/README.zh-CN.md) | [日本語](../ja/README-ja.md) | [Português Brasilei"
  },
  {
    "path": "docs/zh-cn/API-reference.md",
    "chars": 57,
    "preview": "### 提醒\n\n文档已迁移至 [https://day.js.org](https://day.js.org)。\n"
  },
  {
    "path": "docs/zh-cn/I18n.md",
    "chars": 57,
    "preview": "### 提醒\n\n文档已迁移至 [https://day.js.org](https://day.js.org)。\n"
  },
  {
    "path": "docs/zh-cn/Installation.md",
    "chars": 57,
    "preview": "### 提醒\n\n文档已迁移至 [https://day.js.org](https://day.js.org)。\n"
  },
  {
    "path": "docs/zh-cn/Plugin.md",
    "chars": 57,
    "preview": "### 提醒\n\n文档已迁移至 [https://day.js.org](https://day.js.org)。\n"
  },
  {
    "path": "docs/zh-cn/README.zh-CN.md",
    "chars": 3284,
    "preview": "简体中文 | [English](../../README.md) | [日本語](../ja/README-ja.md) | [Português Brasileiro](../pt-br/README-pt-br.md) | [한국어]"
  },
  {
    "path": "karma.sauce.conf.js",
    "chars": 2113,
    "preview": "module.exports = function (config) {\n  const batches = [\n    {\n      sl_chrome_26: {\n        base: 'SauceLabs',\n        "
  },
  {
    "path": "package.json",
    "chars": 2646,
    "preview": "{\n  \"name\": \"dayjs\",\n  \"version\": \"0.0.0-development\",\n  \"description\": \"2KB immutable date time library alternative to "
  },
  {
    "path": "patches/@semantic-release+github+11.0.4.patch",
    "chars": 722,
    "preview": "diff --git a/node_modules/@semantic-release/github/lib/success.js b/node_modules/@semantic-release/github/lib/success.js"
  },
  {
    "path": "prettier.config.js",
    "chars": 117,
    "preview": "module.exports = {\n  useTabs: false,\n  printWidth: 80,\n  singleQuote: true,\n  trailingComma: 'none',\n  semi: false\n}\n"
  },
  {
    "path": "src/constant.js",
    "chars": 1154,
    "preview": "export const SECONDS_A_MINUTE = 60\nexport const SECONDS_A_HOUR = SECONDS_A_MINUTE * 60\nexport const SECONDS_A_DAY = SECO"
  },
  {
    "path": "src/index.js",
    "chars": 11768,
    "preview": "import * as C from './constant'\nimport en from './locale/en'\nimport U from './utils'\n\nlet L = 'en' // global locale\ncons"
  },
  {
    "path": "src/locale/af.js",
    "chars": 1004,
    "preview": "// Afrikaans [af]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'af',\n  weekdays: 'Sondag_Maandag_Dinsdag_Woensdag"
  },
  {
    "path": "src/locale/am.js",
    "chars": 945,
    "preview": "// Amharic [am]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'am',\n  weekdays: 'እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ'.spli"
  },
  {
    "path": "src/locale/ar-dz.js",
    "chars": 1019,
    "preview": "// Arabic (Algeria) [ar-dz]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ar-dz',\n  weekdays: 'الأحد_الإثنين_الثل"
  },
  {
    "path": "src/locale/ar-iq.js",
    "chars": 1068,
    "preview": "//  Arabic (Iraq) [ar-iq]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ar-iq',\n  weekdays: 'الأحد_الإثنين_الثلاث"
  },
  {
    "path": "src/locale/ar-kw.js",
    "chars": 1008,
    "preview": "// Arabic (Kuwait) [ar-kw]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ar-kw',\n  weekdays: 'الأحد_الإثنين_الثلا"
  },
  {
    "path": "src/locale/ar-ly.js",
    "chars": 784,
    "preview": "// Arabic (Lybia) [ar-ly]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ar-ly',\n  weekdays: 'الأحد_الإثنين_الثلاث"
  },
  {
    "path": "src/locale/ar-ma.js",
    "chars": 1025,
    "preview": "// Arabic (Morocco) [ar-ma]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ar-ma',\n  weekdays: 'الأحد_الإثنين_الثل"
  },
  {
    "path": "src/locale/ar-sa.js",
    "chars": 1024,
    "preview": "// Arabic (Saudi Arabia) [ar-sa]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ar-sa',\n  weekdays: 'الأحد_الإثنين"
  },
  {
    "path": "src/locale/ar-tn.js",
    "chars": 1028,
    "preview": "//  Arabic (Tunisia) [ar-tn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ar-tn',\n  weekdays: 'الأحد_الإثنين_الث"
  },
  {
    "path": "src/locale/ar.js",
    "chars": 1711,
    "preview": "// Arabic [ar]\nimport dayjs from 'dayjs'\n\nconst months = 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_ن"
  },
  {
    "path": "src/locale/az.js",
    "chars": 1003,
    "preview": "// Azerbaijani [az]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'az',\n  weekdays: 'Bazar_Bazar ertəsi_Çərşənbə a"
  },
  {
    "path": "src/locale/be.js",
    "chars": 3001,
    "preview": "// Belarusian [be]\nimport dayjs from 'dayjs'\n\nconst monthFormat = 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліп"
  },
  {
    "path": "src/locale/bg.js",
    "chars": 1331,
    "preview": "// Bulgarian [bg]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'bg',\n  weekdays: 'неделя_понеделник_вторник_сряда"
  },
  {
    "path": "src/locale/bi.js",
    "chars": 974,
    "preview": "// Bislama [bi]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'bi',\n  weekdays: 'Sande_Mande_Tusde_Wenesde_Tosde_F"
  },
  {
    "path": "src/locale/bm.js",
    "chars": 1103,
    "preview": "// Bambara [bm]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'bm',\n  weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_"
  },
  {
    "path": "src/locale/bn-bd.js",
    "chars": 2019,
    "preview": "// Bengali (Bangladesh) [bn-bd]\nimport dayjs from 'dayjs'\n\nconst symbolMap = {\n  1: '১',\n  2: '২',\n  3: '৩',\n  4: '৪',\n "
  },
  {
    "path": "src/locale/bn.js",
    "chars": 1476,
    "preview": "// Bengali [bn]\nimport dayjs from 'dayjs'\n\nconst symbolMap = {\n  1: '১',\n  2: '২',\n  3: '৩',\n  4: '৪',\n  5: '৫',\n  6: '৬"
  },
  {
    "path": "src/locale/bo.js",
    "chars": 1201,
    "preview": "// Tibetan [bo]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'bo',\n  weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_"
  },
  {
    "path": "src/locale/br.js",
    "chars": 1972,
    "preview": "// Breton [br]\nimport dayjs from 'dayjs'\n\nfunction lastNumber(number) {\n  if (number > 9) {\n    return lastNumber(number"
  },
  {
    "path": "src/locale/bs.js",
    "chars": 729,
    "preview": "// Bosnian [bs]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'bs',\n  weekdays: 'nedjelja_ponedjeljak_utorak_srije"
  },
  {
    "path": "src/locale/ca.js",
    "chars": 1275,
    "preview": "// Catalan [ca]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ca',\n  weekdays: 'Diumenge_Dilluns_Dimarts_Dimecres"
  },
  {
    "path": "src/locale/cs.js",
    "chars": 2937,
    "preview": "// Czech [cs]\nimport dayjs from 'dayjs'\n\nfunction plural(n) {\n  return (n > 1) && (n < 5) && (~~(n / 10) !== 1) // eslin"
  },
  {
    "path": "src/locale/cv.js",
    "chars": 771,
    "preview": "// Chuvash [cv]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'cv',\n  weekdays: 'вырсарникун_тунтикун_ытларикун_юн"
  },
  {
    "path": "src/locale/cy.js",
    "chars": 1011,
    "preview": "// Welsh [cy]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'cy',\n  weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd"
  },
  {
    "path": "src/locale/da.js",
    "chars": 1044,
    "preview": "// Danish [da]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'da',\n  weekdays: 'søndag_mandag_tirsdag_onsdag_torsd"
  },
  {
    "path": "src/locale/de-at.js",
    "chars": 1684,
    "preview": "// German (Austria) [de-at]\nimport dayjs from 'dayjs'\n\nconst texts = {\n  s: 'ein paar Sekunden',\n  m: ['eine Minute', 'e"
  },
  {
    "path": "src/locale/de-ch.js",
    "chars": 1681,
    "preview": "// German (Switzerland) [de-ch]\nimport dayjs from 'dayjs'\n\nconst texts = {\n  s: 'ein paar Sekunden',\n  m: ['eine Minute'"
  },
  {
    "path": "src/locale/de.js",
    "chars": 1685,
    "preview": "// German [de]\nimport dayjs from 'dayjs'\n\nconst texts = {\n  s: 'ein paar Sekunden',\n  m: ['eine Minute', 'einer Minute']"
  },
  {
    "path": "src/locale/dv.js",
    "chars": 1126,
    "preview": "// Maldivian [dv]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'dv',\n  weekdays: 'އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރ"
  },
  {
    "path": "src/locale/el.js",
    "chars": 1034,
    "preview": "// Greek [el]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'el',\n  weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτ"
  },
  {
    "path": "src/locale/en-au.js",
    "chars": 1136,
    "preview": "// English (Australia) [en-au]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-au',\n  weekdays: 'Sunday_Monday_T"
  },
  {
    "path": "src/locale/en-ca.js",
    "chars": 996,
    "preview": "// English (Canada) [en-ca]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-ca',\n  weekdays: 'Sunday_Monday_Tues"
  },
  {
    "path": "src/locale/en-gb.js",
    "chars": 1153,
    "preview": "// English (United Kingdom) [en-gb]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-gb',\n  weekdays: 'Sunday_Mon"
  },
  {
    "path": "src/locale/en-ie.js",
    "chars": 1005,
    "preview": "// English (Ireland) [en-ie]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-ie',\n  weekdays: 'Sunday_Monday_Tue"
  },
  {
    "path": "src/locale/en-il.js",
    "chars": 989,
    "preview": "// English (Israel) [en-il]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-il',\n  weekdays: 'Sunday_Monday_Tues"
  },
  {
    "path": "src/locale/en-in.js",
    "chars": 1144,
    "preview": "// English (India) [en-in]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-in',\n  weekdays: 'Sunday_Monday_Tuesd"
  },
  {
    "path": "src/locale/en-nz.js",
    "chars": 1136,
    "preview": "// English (New Zealand) [en-nz]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-nz',\n  weekdays: 'Sunday_Monday"
  },
  {
    "path": "src/locale/en-sg.js",
    "chars": 1008,
    "preview": "// English (Singapore) [en-sg]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-sg',\n  weekdays: 'Sunday_Monday_T"
  },
  {
    "path": "src/locale/en-tt.js",
    "chars": 1156,
    "preview": "// English (Trinidad & Tobago) [en-tt]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'en-tt',\n  weekdays: 'Sunday_"
  },
  {
    "path": "src/locale/en.js",
    "chars": 457,
    "preview": "// English [en]\n// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale\nexport default {\n  name: 'en',\n"
  },
  {
    "path": "src/locale/eo.js",
    "chars": 1014,
    "preview": "// Esperanto [eo]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'eo',\n  weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵa"
  },
  {
    "path": "src/locale/es-do.js",
    "chars": 1064,
    "preview": "// Spanish (Dominican Republic) [es-do]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'es-do',\n  weekdays: 'doming"
  },
  {
    "path": "src/locale/es-mx.js",
    "chars": 1028,
    "preview": "// Spanish (Mexico) [es-mx]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'es-mx',\n  weekdays: 'domingo_lunes_mart"
  },
  {
    "path": "src/locale/es-pr.js",
    "chars": 1057,
    "preview": "// Spanish (Puerto Rico) [es-PR]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'es-pr',\n  monthsShort: 'ene_feb_ma"
  },
  {
    "path": "src/locale/es-us.js",
    "chars": 1043,
    "preview": "// Spanish (United States) [es-us]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'es-us',\n  weekdays: 'domingo_lun"
  },
  {
    "path": "src/locale/es.js",
    "chars": 1029,
    "preview": "// Spanish [es]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'es',\n  monthsShort: 'ene_feb_mar_abr_may_jun_jul_ag"
  },
  {
    "path": "src/locale/et.js",
    "chars": 2043,
    "preview": "// Estonian [et]\nimport dayjs from 'dayjs'\n\nfunction relativeTimeWithTense(number, withoutSuffix, key, isFuture) {\n  con"
  },
  {
    "path": "src/locale/eu.js",
    "chars": 1199,
    "preview": "// Basque [eu]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'eu',\n  weekdays: 'igandea_astelehena_asteartea_astea"
  },
  {
    "path": "src/locale/fa.js",
    "chars": 1007,
    "preview": "// Persian [fa]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'fa',\n  weekdays: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پ"
  },
  {
    "path": "src/locale/fi.js",
    "chars": 2553,
    "preview": "// Finnish [fi]\nimport dayjs from 'dayjs'\n\nfunction relativeTimeFormatter(number, withoutSuffix, key, isFuture) {\n  cons"
  },
  {
    "path": "src/locale/fo.js",
    "chars": 1018,
    "preview": "// Faroese [fo]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'fo',\n  weekdays: 'sunnudagur_mánadagur_týsdagur_mik"
  },
  {
    "path": "src/locale/fr-ca.js",
    "chars": 1015,
    "preview": "// French (Canada) [fr-ca]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'fr-ca',\n  weekdays: 'dimanche_lundi_mard"
  },
  {
    "path": "src/locale/fr-ch.js",
    "chars": 1036,
    "preview": "// French (Switzerland) [fr-ch]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'fr-ch',\n  weekdays: 'dimanche_lundi"
  },
  {
    "path": "src/locale/fr.js",
    "chars": 1093,
    "preview": "// French [fr]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'fr',\n  weekdays: 'dimanche_lundi_mardi_mercredi_jeud"
  },
  {
    "path": "src/locale/fy.js",
    "chars": 1022,
    "preview": "// Frisian [fy]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'fy',\n  weekdays: 'snein_moandei_tiisdei_woansdei_to"
  },
  {
    "path": "src/locale/ga.js",
    "chars": 1055,
    "preview": "// Irish or Irish Gaelic [ga]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ga',\n  weekdays: 'Dé Domhnaigh_Dé Lua"
  },
  {
    "path": "src/locale/gd.js",
    "chars": 1092,
    "preview": "// Scottish Gaelic [gd]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'gd',\n  weekdays: 'Didòmhnaich_Diluain_Dimài"
  },
  {
    "path": "src/locale/gl.js",
    "chars": 1035,
    "preview": "// Galician [gl]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'gl',\n  weekdays: 'domingo_luns_martes_mércores_xov"
  },
  {
    "path": "src/locale/gom-latn.js",
    "chars": 828,
    "preview": "// Konkani Latin script [gom-latn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'gom-latn',\n  weekdays: \"Aitar_So"
  },
  {
    "path": "src/locale/gu.js",
    "chars": 1029,
    "preview": "// Gujarati [gu]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'gu',\n  weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુ"
  },
  {
    "path": "src/locale/he.js",
    "chars": 1887,
    "preview": "// Hebrew [he]\nimport dayjs from 'dayjs'\n\nconst texts = {\n  s: 'מספר שניות',\n  ss: '%d שניות',\n  m: 'דקה',\n  mm: '%d דקו"
  },
  {
    "path": "src/locale/hi.js",
    "chars": 988,
    "preview": "// Hindi [hi]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'hi',\n  weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवा"
  },
  {
    "path": "src/locale/hr.js",
    "chars": 1456,
    "preview": "// Croatian [hr]\nimport dayjs from 'dayjs'\n\nconst monthFormat = 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_k"
  },
  {
    "path": "src/locale/ht.js",
    "chars": 971,
    "preview": "// Haitian Creole (Haiti) [ht]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ht',\n  weekdays: 'dimanch_lendi_madi"
  },
  {
    "path": "src/locale/hu.js",
    "chars": 1620,
    "preview": "// Hungarian [hu]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'hu',\n  weekdays: 'vasárnap_hétfő_kedd_szerda_csüt"
  },
  {
    "path": "src/locale/hy-am.js",
    "chars": 1022,
    "preview": "// Armenian [hy-am]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'hy-am',\n  weekdays: 'կիրակի_երկուշաբթի_երեքշաբթ"
  },
  {
    "path": "src/locale/id.js",
    "chars": 1006,
    "preview": "// Indonesian [id]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'id',\n  weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis"
  },
  {
    "path": "src/locale/is.js",
    "chars": 2238,
    "preview": "// Icelandic [is]\nimport dayjs from 'dayjs'\n\nconst texts = {\n  s: ['nokkrar sekúndur', 'nokkrar sekúndur', 'nokkrum sekú"
  },
  {
    "path": "src/locale/it-ch.js",
    "chars": 1020,
    "preview": "// Italian (Switzerland) [it-ch]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'it-ch',\n  weekdays: 'domenica_lune"
  },
  {
    "path": "src/locale/it.js",
    "chars": 1007,
    "preview": "// Italian [it]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'it',\n  weekdays: 'domenica_lunedì_martedì_mercoledì"
  },
  {
    "path": "src/locale/ja.js",
    "chars": 956,
    "preview": "// Japanese [ja]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ja',\n  weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.spl"
  },
  {
    "path": "src/locale/jv.js",
    "chars": 1032,
    "preview": "// Javanese [jv]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'jv',\n  weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_J"
  },
  {
    "path": "src/locale/ka.js",
    "chars": 1003,
    "preview": "// Georgian [ka]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ka',\n  weekdays: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბა"
  },
  {
    "path": "src/locale/kk.js",
    "chars": 988,
    "preview": "// Kazakh [kk]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'kk',\n  weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенб"
  },
  {
    "path": "src/locale/km.js",
    "chars": 1023,
    "preview": "// Cambodian [km]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'km',\n  weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្"
  },
  {
    "path": "src/locale/kn.js",
    "chars": 1030,
    "preview": "// Kannada [kn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'kn',\n  weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗ"
  },
  {
    "path": "src/locale/ko.js",
    "chars": 990,
    "preview": "// Korean [ko]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ko',\n  weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split"
  },
  {
    "path": "src/locale/ku.js",
    "chars": 1678,
    "preview": "// Kurdish [ku]\nimport dayjs from 'dayjs'\n\nexport const englishToArabicNumbersMap = {\n  1: '١',\n  2: '٢',\n  3: '٣',\n  4:"
  },
  {
    "path": "src/locale/ky.js",
    "chars": 987,
    "preview": "// Kyrgyz [ky]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ky',\n  weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемб"
  },
  {
    "path": "src/locale/lb.js",
    "chars": 766,
    "preview": "// Luxembourgish [lb]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'lb',\n  weekdays: 'Sonndeg_Méindeg_Dënschdeg_M"
  },
  {
    "path": "src/locale/lo.js",
    "chars": 967,
    "preview": "// Lao [lo]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'lo',\n  weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'."
  },
  {
    "path": "src/locale/lt.js",
    "chars": 2132,
    "preview": "// Lithuanian [lt]\nimport dayjs from 'dayjs'\n\nconst monthFormat = 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos"
  },
  {
    "path": "src/locale/lv.js",
    "chars": 1041,
    "preview": "// Latvian [lv]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'lv',\n  weekdays: 'svētdiena_pirmdiena_otrdiena_treš"
  },
  {
    "path": "src/locale/me.js",
    "chars": 728,
    "preview": "// Montenegrin [me]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'me',\n  weekdays: 'nedjelja_ponedjeljak_utorak_s"
  },
  {
    "path": "src/locale/mi.js",
    "chars": 1061,
    "preview": "// Maori [mi]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'mi',\n  weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Par"
  },
  {
    "path": "src/locale/mk.js",
    "chars": 979,
    "preview": "// Macedonian [mk]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'mk',\n  weekdays: 'недела_понеделник_вторник_сред"
  },
  {
    "path": "src/locale/ml.js",
    "chars": 1074,
    "preview": "// Malayalam [ml]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ml',\n  weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബ"
  },
  {
    "path": "src/locale/mn.js",
    "chars": 1045,
    "preview": "// Mongolian [mn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'mn',\n  weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Б"
  },
  {
    "path": "src/locale/mr.js",
    "chars": 755,
    "preview": "// Marathi [mr]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'mr',\n  weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरू"
  },
  {
    "path": "src/locale/ms-my.js",
    "chars": 996,
    "preview": "// Malay [ms-my]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ms-my',\n  weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis"
  },
  {
    "path": "src/locale/ms.js",
    "chars": 979,
    "preview": "// Malay [ms]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ms',\n  weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaa"
  },
  {
    "path": "src/locale/mt.js",
    "chars": 997,
    "preview": "// Maltese (Malta) [mt]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'mt',\n  weekdays: 'Il-Ħadd_It-Tnejn_It-Tliet"
  },
  {
    "path": "src/locale/my.js",
    "chars": 999,
    "preview": "// Burmese [my]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'my',\n  weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး"
  },
  {
    "path": "src/locale/nb.js",
    "chars": 1043,
    "preview": "// Norwegian Bokmål [nb]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'nb',\n  weekdays: 'søndag_mandag_tirsdag_on"
  },
  {
    "path": "src/locale/ne.js",
    "chars": 1071,
    "preview": "// Nepalese [ne]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ne',\n  weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बि"
  },
  {
    "path": "src/locale/nl-be.js",
    "chars": 1034,
    "preview": "// Dutch (Belgium) [nl-be]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'nl-be',\n  weekdays: 'zondag_maandag_dins"
  },
  {
    "path": "src/locale/nl.js",
    "chars": 1077,
    "preview": "// Dutch [nl]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'nl',\n  weekdays: 'zondag_maandag_dinsdag_woensdag_don"
  },
  {
    "path": "src/locale/nn.js",
    "chars": 1012,
    "preview": "// Nynorsk [nn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'nn',\n  weekdays: 'sundag_måndag_tysdag_onsdag_torsd"
  },
  {
    "path": "src/locale/oc-lnc.js",
    "chars": 1040,
    "preview": "// Occitan, lengadocian dialecte [oc-lnc]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'oc-lnc',\n  weekdays: 'dim"
  },
  {
    "path": "src/locale/pa-in.js",
    "chars": 1020,
    "preview": "// Punjabi (India) [pa-in]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'pa-in',\n  weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾ"
  },
  {
    "path": "src/locale/pl.js",
    "chars": 2123,
    "preview": "// Polish [pl]\nimport dayjs from 'dayjs'\n\nfunction plural(n) {\n  return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 1"
  },
  {
    "path": "src/locale/pt-br.js",
    "chars": 1063,
    "preview": "// Portuguese (Brazil) [pt-br]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'pt-br',\n  weekdays: 'domingo_segunda"
  },
  {
    "path": "src/locale/pt.js",
    "chars": 1080,
    "preview": "// Portuguese [pt]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'pt',\n  weekdays: 'domingo_segunda-feira_terça-fe"
  },
  {
    "path": "src/locale/rn.js",
    "chars": 1056,
    "preview": "// Kirundi [rn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'rn',\n  weekdays: 'Ku wa Mungu_Ku wa Mbere_Ku wa Kab"
  },
  {
    "path": "src/locale/ro.js",
    "chars": 996,
    "preview": "// Romanian [ro]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ro',\n  weekdays: 'Duminică_Luni_Marți_Miercuri_Joi"
  },
  {
    "path": "src/locale/ru.js",
    "chars": 2739,
    "preview": "// Russian [ru]\nimport dayjs from 'dayjs'\n\nconst monthFormat = 'января_февраля_марта_апреля_мая_июня_июля_августа_сентяб"
  },
  {
    "path": "src/locale/rw.js",
    "chars": 835,
    "preview": "// Kinyarwanda (Rwanda) [rw]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'rw',\n  weekdays: 'Ku Cyumweru_Kuwa Mbe"
  },
  {
    "path": "src/locale/sd.js",
    "chars": 986,
    "preview": "// Sindhi [sd]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'sd',\n  weekdays: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'"
  },
  {
    "path": "src/locale/se.js",
    "chars": 1148,
    "preview": "// Northern Sami [se]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'se',\n  weekdays: 'sotnabeaivi_vuossárga_maŋŋe"
  },
  {
    "path": "src/locale/si.js",
    "chars": 960,
    "preview": "// Sinhalese [si]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'si',\n  weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍"
  },
  {
    "path": "src/locale/sk.js",
    "chars": 3015,
    "preview": "// Slovak [sk]\nimport dayjs from 'dayjs'\n\nfunction plural(n) {\n  return (n > 1) && (n < 5) && (~~(n / 10) !== 1) // esli"
  },
  {
    "path": "src/locale/sl.js",
    "chars": 3765,
    "preview": "// Slovenian [sl]\nimport dayjs from 'dayjs'\n\nfunction dual(n) {\n  return (n % 100) == 2 // eslint-disable-line\n}\n\nfuncti"
  },
  {
    "path": "src/locale/sq.js",
    "chars": 984,
    "preview": "// Albanian [sq]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'sq',\n  weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_"
  },
  {
    "path": "src/locale/sr-cyrl.js",
    "chars": 2440,
    "preview": "// Serbian Cyrillic [sr-cyrl]\nimport dayjs from 'dayjs'\n\nconst translator = {\n  words: {\n    m: ['један минут', 'једног "
  },
  {
    "path": "src/locale/sr.js",
    "chars": 2423,
    "preview": "// Serbian [sr]\nimport dayjs from 'dayjs'\n\nconst translator = {\n  words: {\n    m: ['jedan minut', 'jednog minuta'],\n    "
  },
  {
    "path": "src/locale/ss.js",
    "chars": 1057,
    "preview": "// siSwati [ss]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ss',\n  weekdays: 'Lisontfo_Umsombuluko_Lesibili_Les"
  },
  {
    "path": "src/locale/sv-fi.js",
    "chars": 1262,
    "preview": "// Finland Swedish [sv-fi]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'sv-fi',\n  weekdays: 'söndag_måndag_tisda"
  },
  {
    "path": "src/locale/sv.js",
    "chars": 1183,
    "preview": "// Swedish [sv]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'sv',\n  weekdays: 'söndag_måndag_tisdag_onsdag_torsd"
  },
  {
    "path": "src/locale/sw.js",
    "chars": 1018,
    "preview": "// Swahili [sw]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'sw',\n  weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatan"
  },
  {
    "path": "src/locale/ta.js",
    "chars": 1110,
    "preview": "// Tamil [ta]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ta',\n  weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வா"
  },
  {
    "path": "src/locale/te.js",
    "chars": 1018,
    "preview": "// Telugu [te]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'te',\n  weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గ"
  },
  {
    "path": "src/locale/tet.js",
    "chars": 1018,
    "preview": "// Tetun Dili (East Timor) [tet]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tet',\n  weekdays: 'Domingu_Segunda"
  },
  {
    "path": "src/locale/tg.js",
    "chars": 966,
    "preview": "// Tajik [tg]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tg',\n  weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_па"
  },
  {
    "path": "src/locale/th.js",
    "chars": 1018,
    "preview": "// Thai [th]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'th',\n  weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศ"
  },
  {
    "path": "src/locale/tk.js",
    "chars": 980,
    "preview": "// Turkmen [tk]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tk',\n  weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe"
  },
  {
    "path": "src/locale/tl-ph.js",
    "chars": 1048,
    "preview": "// Tagalog (Philippines) [tl-ph]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tl-ph',\n  weekdays: 'Linggo_Lunes_"
  },
  {
    "path": "src/locale/tlh.js",
    "chars": 958,
    "preview": "// Klingon [tlh]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tlh',\n  weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhj"
  },
  {
    "path": "src/locale/tr.js",
    "chars": 981,
    "preview": "// Turkish [tr]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tr',\n  weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Per"
  },
  {
    "path": "src/locale/tzl.js",
    "chars": 744,
    "preview": "// Talossan [tzl]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tzl',\n  weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_X"
  },
  {
    "path": "src/locale/tzm-latn.js",
    "chars": 1091,
    "preview": "// Central Atlas Tamazight Latin [tzm-latn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tzm-latn',\n  weekdays: "
  },
  {
    "path": "src/locale/tzm.js",
    "chars": 1062,
    "preview": "// Central Atlas Tamazight [tzm]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'tzm',\n  weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙ"
  },
  {
    "path": "src/locale/ug-cn.js",
    "chars": 1068,
    "preview": "// Uyghur (China) [ug-cn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ug-cn',\n  weekdays: 'يەكشەنبە_دۈشەنبە_سەي"
  },
  {
    "path": "src/locale/uk.js",
    "chars": 2370,
    "preview": "// Ukrainian [uk]\nimport dayjs from 'dayjs'\n\nconst monthFormat = 'січня_лютого_березня_квітня_травня_червня_липня_серпня"
  },
  {
    "path": "src/locale/ur.js",
    "chars": 980,
    "preview": "// Urdu [ur]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'ur',\n  weekdays: 'اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ'"
  },
  {
    "path": "src/locale/uz-latn.js",
    "chars": 1006,
    "preview": "// Uzbek Latin [uz-latn]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'uz-latn',\n  weekdays: 'Yakshanba_Dushanba_"
  },
  {
    "path": "src/locale/uz.js",
    "chars": 968,
    "preview": "// Uzbek [uz]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'uz',\n  weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Па"
  },
  {
    "path": "src/locale/vi.js",
    "chars": 1129,
    "preview": "// Vietnamese [vi]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'vi',\n  weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư"
  },
  {
    "path": "src/locale/x-pseudo.js",
    "chars": 1080,
    "preview": "// Pseudo [x-pseudo]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'x-pseudo',\n  weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~"
  },
  {
    "path": "src/locale/yo.js",
    "chars": 1046,
    "preview": "// Yoruba Nigeria [yo]\nimport dayjs from 'dayjs'\n\nconst locale = {\n  name: 'yo',\n  weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́"
  }
]

// ... and 178 more files (download for full content)

About this extraction

This page contains the full source code of the iamkun/dayjs GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 378 files (755.2 KB), approximately 277.5k tokens, and a symbol index with 202 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!