© TrailAndKale.com — Training Plan Builder CHANGELOG ============================================================= TAK versioning mirrors AR versioning from v2.20 onward. ============================================================= TAK-2.25 / AR-2.25 (2026-05-04) - Fixed plan start date and available week count being wrong for non-Sunday races. planStartDate() was subtracting weeks×7 from the raw race date, assuming races always fall on Sunday. For a Friday race (Jul 24), week 11 landed Jul 13–19 instead of Jul 20–24, printing Jul 17 as the race date. Fix: new raceMondayDate() finds the Monday of the race week. All calculations now anchor on this: planStartDate = raceMonday - (weeks-1)×7 weeksAvailable = floor((raceMonday - nextMonday) / 7) + 1 For May 4 start + Jul 24 Friday race: - 12-week plan starts May 4, race correctly on Fri Jul 24 ✓ - 11-week plan starts May 11, race correctly on Fri Jul 24 ✓ Calendar earliest date also corrected to (min-1)×7. TAK-2.24 / AR-2.24 (2026-05-04) - Fixed nextMonday() skipping a week when today IS Monday. - Print table cells show calendar date top-right ("May 4th" format). TAK-2.23 / AR-2.23 (2026-04-23) - Session distances snapped to nearest 0.5 km/mi. - Print descriptions rebalanced. - 30K label threshold fixed (≤21.0mi). - Stat card contrast and spacing improved throughout. TAK-2.22 / AR-2.22 (2026-04-23) - Race Name field added. TAK-2.21 / AR-2.21 (2026-04-23) - Race week built around actual race day of week. TAK-2.20 / AR-2.20 (2026-04-23) - Gradient caps per session type for trail plans. TAK-2.19 / AR-2.19 (2026-04-23) - Race week elevation fixed; syncF() fixes. TAK-2.18 / AR-2.18 (2026-04-23) - Trail LR elevation 45%; nearest 100m rounding. TAK-2.17 / AR-2.17 (2026-04-23) - Fixed elevation formula ignoring race elevation. ============================================================= TAK-specific notes TAK-2.25 (2026-05-04) - No TAK-specific changes. Algorithm sync only. TAK-2.24 (2026-05-04) - No TAK-specific changes. Algorithm sync only. TAK-2.23 (2026-04-23) - Rebuilt from AR v2.23 base. TAK-2.20 (2026-04-23) - File renamed to tak-plan-generator-v2.html. TAK-1.0 (2026-03-30) - Initial TAK version based on AR v2.16. ============================================================= For AR history see: ar-plan-generator-changelog-2026-05-04.txt