Skip to content

Commit

Permalink
area/ui: Use a default 15mins value for DateTimePicker
Browse files Browse the repository at this point in the history
  • Loading branch information
yomete committed Jun 14, 2022
1 parent b67ad7d commit c166978
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class DateTimeRange {
to: DateUnion;

constructor(from: null | DateUnion = null, to: null | DateUnion = null) {
this.from = from ?? new RelativeDate(UNITS.HOUR, 1);
this.from = from ?? new RelativeDate(UNITS.MINUTE, 15);
this.to = to ?? new RelativeDate(UNITS.MINUTE, 0);
}

Expand Down

0 comments on commit c166978

Please sign in to comment.