Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxgfr/rn-date
A zero-dependency library which fixes the date parsing issue in React Native with Android
https://github.com/maxgfr/rn-date
android date date-parsing ios javascript react-native rn-date typescript
Last synced: about 2 months ago
JSON representation
A zero-dependency library which fixes the date parsing issue in React Native with Android
- Host: GitHub
- URL: https://github.com/maxgfr/rn-date
- Owner: maxgfr
- License: mit
- Created: 2022-12-03T13:23:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T05:48:15.000Z (about 2 months ago)
- Last Synced: 2024-10-30T08:39:14.722Z (about 2 months ago)
- Topics: android, date, date-parsing, ios, javascript, react-native, rn-date, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/rn-date
- Size: 817 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# rn-date
`rn-date` is a zero-dependency library which fixes the date parsing issue in React Native with Android.
## Installation
```bash
yarn add rn-date
```## Usage
```ts
import { RnDate } from 'rn-date';const date = new RnDate('2020-01-01T00:00:00.000Z'); // instead of new Date('2020-01-01T00:00:00.000Z')
```