mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix firstday
This commit is contained in:
parent
0ff44155c7
commit
aaaf2b7f03
@ -1040,6 +1040,9 @@ public class DateTime extends Date {
|
||||
if (null == calendar) {
|
||||
throw new DateException("Parse [{}] with format [{}] error!", dateStr, parser.getPattern());
|
||||
}
|
||||
|
||||
//noinspection MagicConstant
|
||||
calendar.setFirstDayOfWeek(Week.MONDAY.getValue());
|
||||
return calendar;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user