You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ if .IsHome }}<divclass="text-center"><smallclass="mw-100 text-secondary-emphasis">Updates daily<br><ahref="/news">Full news feed</a></small></div>{{ end }}
39
+
{{ if .IsHome }}<divclass="text-center"><smallclass="mw-100 text-secondary-emphasis"><ahref="/news">Full news feed</a></small></div>{{ end }}
40
40
</div>
41
+
<script>
42
+
43
+
functionformatAMPM(date){
44
+
varhours=date.getUTCHours();
45
+
varminutes=date.getUTCMinutes();
46
+
varampm=hours>=12 ? 'PM' : 'AM';
47
+
hours=hours%12;
48
+
hours=hours ? hours : 12;// the hour '0' should be '12'
0 commit comments