This commit is contained in:
MuslemRahimi 2025-01-02 20:18:12 +01:00
parent 1e29257c98
commit 69b0e3534d
2 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@
let [hours, minutes] = timePart.split(":").map(Number);
// Only show labels at 30-minute intervals (XX:00 and XX:30)
if (minutes % 30 === 0) {
if (minutes % 60 === 0) {
const amPm = hours >= 12 ? "PM" : "AM";
hours = hours % 12 || 12;
return minutes === 0

View File

@ -351,7 +351,7 @@
let [hours, minutes] = timePart.split(":").map(Number);
// Only show labels at 30-minute intervals (XX:00 and XX:30)
if (minutes % 30 === 0) {
if (minutes % 60 === 0) {
const amPm = hours >= 12 ? "PM" : "AM";
hours = hours % 12 || 12;
return minutes === 0