-
Notifications
You must be signed in to change notification settings - Fork 42
Comparing changes
Open a pull request
base repository: knowledgecode/date-and-time
base: v4.2.0
head repository: knowledgecode/date-and-time
compare: v4.3.0
- 5 commits
- 29 files changed
- 1 contributor
Commits on Feb 23, 2026
-
Fix timezone offset range and month boundary in isValid
- Remove local timezone dependency in getLastDayOfMonth by using Date.UTC - Expand timezone offset (Z token) valid range from -840~720 to -913~956 to support historical timezone offsets (e.g., Metlakatla, Manila) - Add test cases for min (America/Metlakatla) and max (Asia/Manila) offsets
Configuration menu - View commit details
-
Copy full SHA for def8b55 - Browse repository at this point
Copy the full SHA def8b55View commit details -
Add IANA timezone string support to all date manipulation functions
- Move isUTC helper from zone.ts to datetime.ts and add dtfToParts helper - Refactor getTimezoneOffset and createTimezoneDate in zone.ts to accept IANA timezone name strings (e.g., 'America/Los_Angeles') in addition to TimeZone objects - Update ParserPluginOptions.timeZone type to TimeZone | string in parser.ts; integrate ignoreCase logic into find function and add validateToken - Update day-of-week plugin to use new find signature with options parameter - Change timeZone argument type to TimeZone | string in addDays, addMonths, addYears, parse, and preparse - Add test cases for IANA string timezones and historical timezone changes (Metlakatla, Manila); expand boundary values to -1601/+1601
Configuration menu - View commit details
-
Copy full SHA for d50f51f - Browse repository at this point
Copy the full SHA d50f51fView commit details -
Update documentation for v4.3.0 IANA timezone string support
- Update type signatures from TimeZone | 'UTC' to TimeZone | string across all API docs (addDays, addMonths, addYears, format, parse, subtract, etc.) - Document IANA timezone string usage for all date manipulation functions - Add v4.3.0 new features section to migration.md - Promote Method 3 (IANA string) as the recommended approach in timezones.md - Fix minor grammar and punctuation issues
Configuration menu - View commit details
-
Copy full SHA for 1556efa - Browse repository at this point
Copy the full SHA 1556efaView commit details -
Bump version to 4.3.0 and update dependencies
- Bump version from 4.2.0 to 4.3.0 - Upgrade ESLint 9 to 10 and add @eslint/js - Update @stylistic/eslint-plugin, @types/node, vitest, rollup, and typescript-eslint to latest versions - Add minimatch: ^10.2.2 to overrides - Add SwitchCase: 0 to @stylistic/indent rule in eslint.config.js
Configuration menu - View commit details
-
Copy full SHA for d93ec05 - Browse repository at this point
Copy the full SHA d93ec05View commit details -
Merge pull request #117 from knowledgecode/develop
Release v4.3.0: Add IANA timezone string support
Configuration menu - View commit details
-
Copy full SHA for f25d677 - Browse repository at this point
Copy the full SHA f25d677View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.2.0...v4.3.0