Skip to content

Commit 83fc874

Browse files
committed
Merge branch 'master' of github.com:wix/react-native-calendars into release
2 parents 29dacf5 + 7d29982 commit 83fc874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function xdateToData(date: XDate | string) {
2020
}
2121

2222
export function parseDate(d?: any) {
23-
if (d === undefined) {
23+
if (!d) {
2424
return;
2525
} else if (d.timestamp) {
2626
// conventional data timestamp

0 commit comments

Comments
 (0)