From 4fcaa2f87b7a56b0bf6e2745916f2fedb72b399b Mon Sep 17 00:00:00 2001 From: Carina Antunes <carina.oliveira.antunes@cern.ch> Date: Mon, 7 Oct 2024 10:03:46 +0200 Subject: [PATCH] Fix timeline --- docs/static/assets/js/gantt_chart.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/static/assets/js/gantt_chart.js b/docs/static/assets/js/gantt_chart.js index 3eaca46..d13d84f 100644 --- a/docs/static/assets/js/gantt_chart.js +++ b/docs/static/assets/js/gantt_chart.js @@ -20,20 +20,20 @@ export function onRouteDidUpdate({location, previousLocation}) { const milestones = [ { name: "WordPress Lite", - start: new Date("2024-10-01"), + start: new Date("2024-11-01"), end: new Date("2025-05-31"), internal: false, }, { name: "WordPress MVP", - start: new Date("2024-12-01"), - end: new Date("2025-03-31"), + start: new Date("2025-01-01"), + end: new Date("2025-02-31"), internal: true, }, { name: "WordPress Pilot", start: new Date("2025-03-01"), - end: new Date("2025-05-31"), + end: new Date("2025-04-31"), internal: true, }, { @@ -150,7 +150,7 @@ export function onRouteDidUpdate({location, previousLocation}) { }); // Draw today's date line - const today = new Date("2024-08-19"); + const today = new Date(); const todayX = margin.left + timeScale(today); ctx.strokeStyle = "#FF6B6B"; ctx.lineWidth = 2; -- GitLab