Skip to content

Commit

Permalink
Bigger font; use default locales
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasReumann committed Aug 8, 2023
1 parent b30be71 commit aeacd83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/template/home.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@
<a class="title" :href="course.WatchURL(vod.ID)"
x-text="vod.Name"></a>
</template>
<span class="date text-xs"
<span class="date text-sm"
x-text="vod.FriendlyDateStart()"></span>
</div>
<button type="button" @click="vod.Dropdown.toggle()"
Expand Down
4 changes: 2 additions & 2 deletions web/ts/api/courses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export class Stream {
}

public FriendlyDateStart(): string {
return new Date(this.Start).toLocaleString(undefined, {
return new Date(this.Start).toLocaleString("default", {
weekday: "long",
year: "numeric",
month: "long",
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit",
Expand Down

0 comments on commit aeacd83

Please sign in to comment.