mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
fix: Convert timestamps to local time in date formatting across components
This commit is contained in:
@@ -383,8 +383,8 @@ class _TaskPage extends State<TaskPage> {
|
||||
? Divider(indent: indent, endIndent: endIndent)
|
||||
: Container(),
|
||||
posted != null
|
||||
? _KeyValue(
|
||||
i18n.posted, DateFormat.yMd(locale).add_jms().format(posted),
|
||||
? _KeyValue(i18n.posted,
|
||||
DateFormat.yMd(locale).add_jms().format(posted.toLocal()),
|
||||
fontSize: 16)
|
||||
: Container(),
|
||||
Divider(indent: indent, endIndent: endIndent),
|
||||
|
||||
Reference in New Issue
Block a user