This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1) Open your calendar on trainerroad | |
2) Press F12 to open developer tools, select console and paste the script below | |
3) OPTIONAL - modify the two dates (beg & end) to suit your needs | |
4) Copy the result of the execution (something like TRData = ...) | |
*/ | |
(function () { | |
var beg = '2021-01-01'; | |
var end = '2022-01-01'; | |
function normalizeDate(dat) { |