Skip to content

Commit

Permalink
fix(UpdateChecker): 将日期格式从toLocaleString更改为toISOString以确保一致性
Browse files Browse the repository at this point in the history
  • Loading branch information
thoulee21 committed Dec 13, 2024
1 parent 2aacf58 commit 7caada2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UpdateChecker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const UpdateChecker = () => {
{availableUpdate?.createdAt
&& t(
'about.update.dialog.caption',
{ date: availableUpdate.createdAt.toLocaleString() }
{ date: availableUpdate.createdAt.toISOString() }
)}
{t('about.update.dialog.ask')} </Text>
</Dialog.Content>
Expand Down

0 comments on commit 7caada2

Please sign in to comment.