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 40e4dae commit 375ccc1Copy full SHA for 375ccc1
src/parsers/DateParser.ts
@@ -12,7 +12,7 @@ export class DateParser {
12
}
13
14
public static getDefaultDate(): moment.Moment {
15
- return moment(new Date(DateParser.getDefaultYear(), DateParser.getDefaultMonth(), DateParser.getDefaultDay()));
+ return moment(new Date());
16
17
18
public static getDefaultDay(): number {
0 commit comments