Skip to content

mukundshah/internationalized-date-bikram-samvat-patch

Repository files navigation

@internationalized/date - Bikram Sambat Patch

A patch that adds Bikram Sambat (Nepali calendar) support to the @internationalized/date package.

Features

  • ✅ Bikram Sambat calendar support
  • ✅ Multiple package version compatibility
  • ✅ Works with both source code and build output

Version Compatibility

Package Version Latest Patch Status
3.9.0 1.3.0 ✅ Latest
3.8.2 1.2.1 ✅ Supported
3.8.1 1.2.0 ✅ Supported
3.8.0 1.1.4 ✅ Supported

Quick Start

  1. Choose your patch: Select the appropriate patch file from the patches/ directory based on your @internationalized/date version (see compatibility table below).

  2. Configure pnpm: Add the patch to your package.json:

    {
      "pnpm": {
        "patchedDependencies": {
          "@internationalized/date": "patches/@[email protected]__1.3.0.patch"
        }
      }
    }
  3. Apply the patch: Run pnpm install

Contributing

Found a bug? Please report date conversion issues with:

  • Specific incorrect date(s)
  • Expected vs actual conversion
  • Your @internationalized/date version

License

This project is licensed under the same terms as the original @internationalized/date package.

Acknowledgments

Built on the excellent @internationalized/date package by Adobe and the React Spectrum team.

About

Patch for the @internationalized/date package to add support for the Bikram Sambat (Nepali calendar) system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published