语言的本地缓存
This commit is contained in:
@@ -442,7 +442,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
|
||||
width: double.infinity,
|
||||
child: Padding(
|
||||
padding: EdgeInsetsDirectional.fromSTEB(
|
||||
0.rpx, 32.rpx, 30.rpx, 32.rpx),
|
||||
30.rpx, 32.rpx, 30.rpx, 32.rpx),
|
||||
child: getTimeWidget(),
|
||||
),
|
||||
),
|
||||
@@ -1116,7 +1116,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
|
||||
selectedDate.subtract(Duration(days: selectedDate.weekday - 1));
|
||||
final endOfWeek = startOfWeek.add(const Duration(days: 6));
|
||||
displayText =
|
||||
'${MyUtils.getFormatEnglishDate(startOfWeek.millisecondsSinceEpoch)} - ${MyUtils.getFormatEnglishDate(endOfWeek.millisecondsSinceEpoch)}';
|
||||
'${MyUtils.getFormatEnglishDate(startOfWeek.millisecondsSinceEpoch, showWeekday: false)} - ${MyUtils.getFormatEnglishDate(endOfWeek.millisecondsSinceEpoch, showWeekday: false)}';
|
||||
} else if (type == 3) {
|
||||
// Monthly Report
|
||||
displayText =
|
||||
|
||||
Reference in New Issue
Block a user