Skip to content

Commit

Permalink
fix(flat-pages): use 24-hours based time format (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Oct 17, 2022
1 parent cc5dcd9 commit 02038cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const EditOAuth: React.FC<EditOAuthProps> = ({ oauthUUID }) => {
</div>
<div className="edit-oauth-secret-row">
<span>
{t("created-at")}: {format(new Date(), "yyyy-MM-dd hh:mm")}
{t("created-at")}: {format(new Date(), "yyyy-MM-dd HH:mm")}
</span>
</div>
</div>
Expand All @@ -226,7 +226,7 @@ export const EditOAuth: React.FC<EditOAuthProps> = ({ oauthUUID }) => {
</div>
<div className="edit-oauth-secret-row">
<span>
{t("created-at")}: {format(e.createdAt, "yyyy-MM-dd hh:mm")}
{t("created-at")}: {format(e.createdAt, "yyyy-MM-dd HH:mm")}
</span>
</div>
</div>
Expand Down

0 comments on commit 02038cd

Please sign in to comment.