Skip to content

Commit c644eeb

Browse files
authored
Merge pull request #3265 from crazyserver/MOBILE-3833
Mobile 3833
2 parents a2ddd67 + e502c73 commit c644eeb

File tree

3 files changed

+171
-185
lines changed

3 files changed

+171
-185
lines changed

src/addons/userprofilefield/datetime/component/datetime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class AddonUserProfileFieldDatetimeComponent extends CoreUserProfileField
7575
this.max = field.param2;
7676
}
7777

78-
this.max = this.max || CoreTimeUtils.getDatetimeDefaultMin();
78+
this.min = this.min || CoreTimeUtils.getDatetimeDefaultMin();
7979
this.max = this.max || CoreTimeUtils.getDatetimeDefaultMax();
8080
}
8181

0 commit comments

Comments
 (0)