We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06080c commit 7d29982Copy full SHA for 7d29982
src/interface.ts
@@ -20,7 +20,7 @@ export function xdateToData(date: XDate | string) {
20
}
21
22
export function parseDate(d?: any) {
23
- if (d === undefined) {
+ if (!d) {
24
return;
25
} else if (d.timestamp) {
26
// conventional data timestamp
0 commit comments