生活缴费/缴费记录—— 时间的“小时”单位却显示为“hh”

pull/1/head
戴余标 3 years ago
parent 839f855ed7
commit 263641d573

@ -97,10 +97,10 @@ class _LifePayBillPageState extends State<LifePayBillPage> {
_billItem('缴纳金额','¥'+widget.model.payAmount.toStringAsFixed(2),isRed: true),
_billItem('缴费时间',DateUtil.formatDate(DateUtil.getDateTime(widget.model.createDate),
format: 'yyyy/MM/dd hh:mm'),),
format: 'yyyy/MM/dd HH:mm'),),
_billItem('付款方式', '${getPayType[widget.model.payType]}'),
_billItem('账单创建时间',DateUtil.formatDate(DateUtil.getDateTime(widget.model.billCreateDate),
format: 'yyyy/MM/dd hh:mm'),),
format: 'yyyy/MM/dd HH:mm'),),
_billItem('流水号',widget.model.code,),
]

@ -101,7 +101,7 @@ class _LifePayRecordPageState extends State<LifePayRecordPage> {
borderRadius: BorderRadius.circular(8.w),
),
child: DateUtil.formatDate(DateUtil.getDateTime(model.createDate),
format: 'MM-dd hh-mm')
format: 'MM-dd HH-mm')
.text
.size(24.sp)
.color(Colors.black.withOpacity(0.45))

Loading…
Cancel
Save