github web-ridge/react-native-paper-dates v0.5.0
Release 0.5.0

latest releases: v0.22.27, v0.22.26, v0.22.25...
3 years ago

0.5.0 (2021-10-20)

Breaking changes

  • locale prop is now required on Date related things (the time picker is still automatic)
   <DatePickerModal
+        locale="en" // this is added
        mode="single"
        visible={open}
        onDismiss={onDismissSingle}
        date={date}
        onConfirm={onConfirmSingle}

e.g.

// e.g in your index.js
import {
  en,
  // nl,
  registerTranslation,
} from 'react-native-paper-dates'
registerTranslation('en', en)
// registerTranslation('nl', nl)

Bug Fixes

  • fix bug with date picker input not filling width ios (1aa9622)
  • timepicker: selecting 12pm returns 24 hrs (96ab103)
  • linter fixes (d18ed51)
  • Modify logic to lighten and darken colors (93daecd)

Features

What's Changed

New Contributors

Full Changelog: v0.4.6...v0.5.0

Don't miss a new react-native-paper-dates release

NewReleases is sending notifications on new releases.