mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-26 07:44:01 +08:00
fixed incorrect format
This commit is contained in:
parent
86dbe44487
commit
a5136dacc1
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ function update(mode: MonkeyTypes.Mode): void {
|
|||
const date = new Date(pb.timestamp);
|
||||
if (pb.timestamp) {
|
||||
dateText =
|
||||
format(date, "DD MMM YYYY") +
|
||||
format(date, "dd MMM yyyy") +
|
||||
"<br><div class='sub'>" +
|
||||
format(date, "HH:mm") +
|
||||
"</div>";
|
||||
|
|
|
@ -35,7 +35,7 @@ function updateList(): void {
|
|||
<div class="language">Language: ${quote.language}</div>
|
||||
<div class="timestamp">Submitted on: ${format(
|
||||
new Date(quote.timestamp),
|
||||
"DD MMM YYYY HH:mm"
|
||||
"dd MMM yyyy HH:mm"
|
||||
)}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue