⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@bbernag
Copy link
Owner

@bbernag bbernag commented Jan 21, 2026

BREAKING CHANGES:

  • parse() now uses local time for date-only strings
  • Getter functions (getYear, getMonth, etc.) now return local time

New features:

  • Timezone-aware predicates: isTodayInTz, isTomorrowInTz, isYesterdayInTz,
    isSameDayInTz, isSameMonthInTz, isSameYearInTz, startOfDayInTz, endOfDayInTz
  • Setters: setYear, setMonth, setDate, setHours, setMinutes, setSeconds,
    setMilliseconds
  • getOffsetInTimezone utility
  • Full Expo Dev Client compatibility (SDK 54+)

Documentation:

  • Updated README, api-reference, and docs site
  • Added RELEASE_NOTES_v2.0.0.md

BREAKING CHANGES:
- parse() now uses local time for date-only strings
- Getter functions (getYear, getMonth, etc.) now return local time

New features:
- Timezone-aware predicates: isTodayInTz, isTomorrowInTz, isYesterdayInTz,
  isSameDayInTz, isSameMonthInTz, isSameYearInTz, startOfDayInTz, endOfDayInTz
- Setters: setYear, setMonth, setDate, setHours, setMinutes, setSeconds,
  setMilliseconds
- getOffsetInTimezone utility
- Full Expo Dev Client compatibility (SDK 54+)

Documentation:
- Updated README, api-reference, and docs site
- Added RELEASE_NOTES_v2.0.0.md
@bbernag bbernag self-assigned this Jan 21, 2026
@bbernag bbernag added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 21, 2026
- Change @rn-packages/native-date to @bernagl/react-native-date
- Update example paths from packages/native-date/example to packages/example
Required by @react-native/eslint-config
- Add eslint-plugin-react, eslint-plugin-react-hooks, eslint-plugin-react-native
- Add @typescript-eslint/parser, @typescript-eslint/eslint-plugin
- Add eslint-plugin-jest, eslint-plugin-ft-flow
- Fix prettier formatting issues
Fixes peer dependency resolution issues with ts-jest and eslint plugins
After monorepo restructure, paths were pointing to wrong location
iPhone 15 not available on latest macOS runners with Xcode 16.4
Dependencies are hoisted to root in yarn workspaces
@bbernag bbernag merged commit b6f9d35 into main Jan 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants