Skip to content
Snippets Groups Projects
Commit 4fcaa2f8 authored by Carina Antunes's avatar Carina Antunes
Browse files

Fix timeline

parent ae8af8fb
No related branches found
No related tags found
No related merge requests found
...@@ -20,20 +20,20 @@ export function onRouteDidUpdate({location, previousLocation}) { ...@@ -20,20 +20,20 @@ export function onRouteDidUpdate({location, previousLocation}) {
const milestones = [ const milestones = [
{ {
name: "WordPress Lite", name: "WordPress Lite",
start: new Date("2024-10-01"), start: new Date("2024-11-01"),
end: new Date("2025-05-31"), end: new Date("2025-05-31"),
internal: false, internal: false,
}, },
{ {
name: "WordPress MVP", name: "WordPress MVP",
start: new Date("2024-12-01"), start: new Date("2025-01-01"),
end: new Date("2025-03-31"), end: new Date("2025-02-31"),
internal: true, internal: true,
}, },
{ {
name: "WordPress Pilot", name: "WordPress Pilot",
start: new Date("2025-03-01"), start: new Date("2025-03-01"),
end: new Date("2025-05-31"), end: new Date("2025-04-31"),
internal: true, internal: true,
}, },
{ {
...@@ -150,7 +150,7 @@ export function onRouteDidUpdate({location, previousLocation}) { ...@@ -150,7 +150,7 @@ export function onRouteDidUpdate({location, previousLocation}) {
}); });
// Draw today's date line // Draw today's date line
const today = new Date("2024-08-19"); const today = new Date();
const todayX = margin.left + timeScale(today); const todayX = margin.left + timeScale(today);
ctx.strokeStyle = "#FF6B6B"; ctx.strokeStyle = "#FF6B6B";
ctx.lineWidth = 2; ctx.lineWidth = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment