const dateStr = "2026-07-01 15:08";
const utcStr = dateStr.replace(" ", "T") + "Z";
const d = new Date(utcStr);

console.log("UTC date string:", utcStr);
console.log("Parsed Date object:", d.toString());

// Format in local timezone (which in the container is UTC-7)
const b = d.getFullYear();
const N = String(d.getMonth() + 1).padStart(2, "0");
const D = String(d.getDate()).padStart(2, "0");
const localDate = `${b}-${N}-${D}`;
console.log("Formatted Local Date in container (expected 2026-07-01):", localDate);
