Ensure DTSTAMP is in UTC, as per RFC 5545 § 3.1

This commit is contained in:
Matteo Settenvini 2022-07-29 12:32:25 +02:00
parent 32ccc1ed72
commit 096db12c74
Signed by: matteo
GPG Key ID: 8576CC1AD97D42DF
2 changed files with 376 additions and 371 deletions

View File

@ -1,366 +1,366 @@
"day","lunch","dinner" "day","wday","lunch","dinner"
"2022-08-01","https://ricette.giallozafferano.it/Pasta-fredda-con-pesto-senz-aglio.html","https://ricette.giallozafferano.it/Riso-freddo-con-tonno-zucchine-e-limone.html" "2022-08-01","lunedì","https://ricette.giallozafferano.it/Pasta-fredda-con-pesto-senz-aglio.html","https://ricette.giallozafferano.it/Riso-freddo-con-tonno-zucchine-e-limone.html"
"2022-08-02",, "2022-08-02","martedì",,
"2022-08-03",, "2022-08-03","mercoledì",,
"2022-08-04",, "2022-08-04","giovedì",,
"2022-08-05",, "2022-08-05","venerdì",,
"2022-08-06",, "2022-08-06","sabato",,
"2022-08-07",, "2022-08-07","domenica",,
"2022-08-08",, "2022-08-08","lunedì",,
"2022-08-09",, "2022-08-09","martedì",,
"2022-08-10",, "2022-08-10","mercoledì",,
"2022-08-11",, "2022-08-11","giovedì",,
"2022-08-12",, "2022-08-12","venerdì",,
"2022-08-13",, "2022-08-13","sabato",,
"2022-08-14",, "2022-08-14","domenica",,
"2022-08-15",, "2022-08-15","lunedì",,
"2022-08-16",, "2022-08-16","martedì",,
"2022-08-17",, "2022-08-17","mercoledì",,
"2022-08-18",, "2022-08-18","giovedì",,
"2022-08-19",, "2022-08-19","venerdì",,
"2022-08-20",, "2022-08-20","sabato",,
"2022-08-21",, "2022-08-21","domenica",,
"2022-08-22",, "2022-08-22","lunedì",,
"2022-08-23",, "2022-08-23","martedì",,
"2022-08-24",, "2022-08-24","mercoledì",,
"2022-08-25",, "2022-08-25","giovedì",,
"2022-08-26",, "2022-08-26","venerdì",,
"2022-08-27",, "2022-08-27","sabato",,
"2022-08-28",, "2022-08-28","domenica",,
"2022-08-29",, "2022-08-29","lunedì",,
"2022-08-30",, "2022-08-30","martedì",,
"2022-08-31",, "2022-08-31","mercoledì",,
"2022-09-01",, "2022-09-01","giovedì",,
"2022-09-02",, "2022-09-02","venerdì",,
"2022-09-03",, "2022-09-03","sabato",,
"2022-09-04",, "2022-09-04","domenica",,
"2022-09-05",, "2022-09-05","lunedì",,
"2022-09-06",, "2022-09-06","martedì",,
"2022-09-07",, "2022-09-07","mercoledì",,
"2022-09-08",, "2022-09-08","giovedì",,
"2022-09-09",, "2022-09-09","venerdì",,
"2022-09-10",, "2022-09-10","sabato",,
"2022-09-11",, "2022-09-11","domenica",,
"2022-09-12",, "2022-09-12","lunedì",,
"2022-09-13",, "2022-09-13","martedì",,
"2022-09-14",, "2022-09-14","mercoledì",,
"2022-09-15",, "2022-09-15","giovedì",,
"2022-09-16",, "2022-09-16","venerdì",,
"2022-09-17",, "2022-09-17","sabato",,
"2022-09-18",, "2022-09-18","domenica",,
"2022-09-19",, "2022-09-19","lunedì",,
"2022-09-20",, "2022-09-20","martedì",,
"2022-09-21",, "2022-09-21","mercoledì",,
"2022-09-22",, "2022-09-22","giovedì",,
"2022-09-23",, "2022-09-23","venerdì",,
"2022-09-24",, "2022-09-24","sabato",,
"2022-09-25",, "2022-09-25","domenica",,
"2022-09-26",, "2022-09-26","lunedì",,
"2022-09-27",, "2022-09-27","martedì",,
"2022-09-28",, "2022-09-28","mercoledì",,
"2022-09-29",, "2022-09-29","giovedì",,
"2022-09-30",, "2022-09-30","venerdì",,
"2022-10-01",, "2022-10-01","sabato",,
"2022-10-02",, "2022-10-02","domenica",,
"2022-10-03",, "2022-10-03","lunedì",,
"2022-10-04",, "2022-10-04","martedì",,
"2022-10-05",, "2022-10-05","mercoledì",,
"2022-10-06",, "2022-10-06","giovedì",,
"2022-10-07",, "2022-10-07","venerdì",,
"2022-10-08",, "2022-10-08","sabato",,
"2022-10-09",, "2022-10-09","domenica",,
"2022-10-10",, "2022-10-10","lunedì",,
"2022-10-11",, "2022-10-11","martedì",,
"2022-10-12",, "2022-10-12","mercoledì",,
"2022-10-13",, "2022-10-13","giovedì",,
"2022-10-14",, "2022-10-14","venerdì",,
"2022-10-15",, "2022-10-15","sabato",,
"2022-10-16",, "2022-10-16","domenica",,
"2022-10-17",, "2022-10-17","lunedì",,
"2022-10-18",, "2022-10-18","martedì",,
"2022-10-19",, "2022-10-19","mercoledì",,
"2022-10-20",, "2022-10-20","giovedì",,
"2022-10-21",, "2022-10-21","venerdì",,
"2022-10-22",, "2022-10-22","sabato",,
"2022-10-23",, "2022-10-23","domenica",,
"2022-10-24",, "2022-10-24","lunedì",,
"2022-10-25",, "2022-10-25","martedì",,
"2022-10-26",, "2022-10-26","mercoledì",,
"2022-10-27",, "2022-10-27","giovedì",,
"2022-10-28",, "2022-10-28","venerdì",,
"2022-10-29",, "2022-10-29","sabato",,
"2022-10-30",, "2022-10-30","domenica",,
"2022-10-31",, "2022-10-31","lunedì",,
"2022-11-01",, "2022-11-01","martedì",,
"2022-11-02",, "2022-11-02","mercoledì",,
"2022-11-03",, "2022-11-03","giovedì",,
"2022-11-04",, "2022-11-04","venerdì",,
"2022-11-05",, "2022-11-05","sabato",,
"2022-11-06",, "2022-11-06","domenica",,
"2022-11-07",, "2022-11-07","lunedì",,
"2022-11-08",, "2022-11-08","martedì",,
"2022-11-09",, "2022-11-09","mercoledì",,
"2022-11-10",, "2022-11-10","giovedì",,
"2022-11-11",, "2022-11-11","venerdì",,
"2022-11-12",, "2022-11-12","sabato",,
"2022-11-13",, "2022-11-13","domenica",,
"2022-11-14",, "2022-11-14","lunedì",,
"2022-11-15",, "2022-11-15","martedì",,
"2022-11-16",, "2022-11-16","mercoledì",,
"2022-11-17",, "2022-11-17","giovedì",,
"2022-11-18",, "2022-11-18","venerdì",,
"2022-11-19",, "2022-11-19","sabato",,
"2022-11-20",, "2022-11-20","domenica",,
"2022-11-21",, "2022-11-21","lunedì",,
"2022-11-22",, "2022-11-22","martedì",,
"2022-11-23",, "2022-11-23","mercoledì",,
"2022-11-24",, "2022-11-24","giovedì",,
"2022-11-25",, "2022-11-25","venerdì",,
"2022-11-26",, "2022-11-26","sabato",,
"2022-11-27",, "2022-11-27","domenica",,
"2022-11-28",, "2022-11-28","lunedì",,
"2022-11-29",, "2022-11-29","martedì",,
"2022-11-30",, "2022-11-30","mercoledì",,
"2022-12-01",, "2022-12-01","giovedì",,
"2022-12-02",, "2022-12-02","venerdì",,
"2022-12-03",, "2022-12-03","sabato",,
"2022-12-04",, "2022-12-04","domenica",,
"2022-12-05",, "2022-12-05","lunedì",,
"2022-12-06",, "2022-12-06","martedì",,
"2022-12-07",, "2022-12-07","mercoledì",,
"2022-12-08",, "2022-12-08","giovedì",,
"2022-12-09",, "2022-12-09","venerdì",,
"2022-12-10",, "2022-12-10","sabato",,
"2022-12-11",, "2022-12-11","domenica",,
"2022-12-12",, "2022-12-12","lunedì",,
"2022-12-13",, "2022-12-13","martedì",,
"2022-12-14",, "2022-12-14","mercoledì",,
"2022-12-15",, "2022-12-15","giovedì",,
"2022-12-16",, "2022-12-16","venerdì",,
"2022-12-17",, "2022-12-17","sabato",,
"2022-12-18",, "2022-12-18","domenica",,
"2022-12-19",, "2022-12-19","lunedì",,
"2022-12-20",, "2022-12-20","martedì",,
"2022-12-21",, "2022-12-21","mercoledì",,
"2022-12-22",, "2022-12-22","giovedì",,
"2022-12-23",, "2022-12-23","venerdì",,
"2022-12-24",, "2022-12-24","sabato",,
"2022-12-25",, "2022-12-25","domenica",,
"2022-12-26",, "2022-12-26","lunedì",,
"2022-12-27",, "2022-12-27","martedì",,
"2022-12-28",, "2022-12-28","mercoledì",,
"2022-12-29",, "2022-12-29","giovedì",,
"2022-12-30",, "2022-12-30","venerdì",,
"2022-12-31",, "2022-12-31","sabato",,
"2023-01-01",, "2023-01-01","domenica",,
"2023-01-02",, "2023-01-02","lunedì",,
"2023-01-03",, "2023-01-03","martedì",,
"2023-01-04",, "2023-01-04","mercoledì",,
"2023-01-05",, "2023-01-05","giovedì",,
"2023-01-06",, "2023-01-06","venerdì",,
"2023-01-07",, "2023-01-07","sabato",,
"2023-01-08",, "2023-01-08","domenica",,
"2023-01-09",, "2023-01-09","lunedì",,
"2023-01-10",, "2023-01-10","martedì",,
"2023-01-11",, "2023-01-11","mercoledì",,
"2023-01-12",, "2023-01-12","giovedì",,
"2023-01-13",, "2023-01-13","venerdì",,
"2023-01-14",, "2023-01-14","sabato",,
"2023-01-15",, "2023-01-15","domenica",,
"2023-01-16",, "2023-01-16","lunedì",,
"2023-01-17",, "2023-01-17","martedì",,
"2023-01-18",, "2023-01-18","mercoledì",,
"2023-01-19",, "2023-01-19","giovedì",,
"2023-01-20",, "2023-01-20","venerdì",,
"2023-01-21",, "2023-01-21","sabato",,
"2023-01-22",, "2023-01-22","domenica",,
"2023-01-23",, "2023-01-23","lunedì",,
"2023-01-24",, "2023-01-24","martedì",,
"2023-01-25",, "2023-01-25","mercoledì",,
"2023-01-26",, "2023-01-26","giovedì",,
"2023-01-27",, "2023-01-27","venerdì",,
"2023-01-28",, "2023-01-28","sabato",,
"2023-01-29",, "2023-01-29","domenica",,
"2023-01-30",, "2023-01-30","lunedì",,
"2023-01-31",, "2023-01-31","martedì",,
"2023-02-01",, "2023-02-01","mercoledì",,
"2023-02-02",, "2023-02-02","giovedì",,
"2023-02-03",, "2023-02-03","venerdì",,
"2023-02-04",, "2023-02-04","sabato",,
"2023-02-05",, "2023-02-05","domenica",,
"2023-02-06",, "2023-02-06","lunedì",,
"2023-02-07",, "2023-02-07","martedì",,
"2023-02-08",, "2023-02-08","mercoledì",,
"2023-02-09",, "2023-02-09","giovedì",,
"2023-02-10",, "2023-02-10","venerdì",,
"2023-02-11",, "2023-02-11","sabato",,
"2023-02-12",, "2023-02-12","domenica",,
"2023-02-13",, "2023-02-13","lunedì",,
"2023-02-14",, "2023-02-14","martedì",,
"2023-02-15",, "2023-02-15","mercoledì",,
"2023-02-16",, "2023-02-16","giovedì",,
"2023-02-17",, "2023-02-17","venerdì",,
"2023-02-18",, "2023-02-18","sabato",,
"2023-02-19",, "2023-02-19","domenica",,
"2023-02-20",, "2023-02-20","lunedì",,
"2023-02-21",, "2023-02-21","martedì",,
"2023-02-22",, "2023-02-22","mercoledì",,
"2023-02-23",, "2023-02-23","giovedì",,
"2023-02-24",, "2023-02-24","venerdì",,
"2023-02-25",, "2023-02-25","sabato",,
"2023-02-26",, "2023-02-26","domenica",,
"2023-02-27",, "2023-02-27","lunedì",,
"2023-02-28",, "2023-02-28","martedì",,
"2023-03-01",, "2023-03-01","mercoledì",,
"2023-03-02",, "2023-03-02","giovedì",,
"2023-03-03",, "2023-03-03","venerdì",,
"2023-03-04",, "2023-03-04","sabato",,
"2023-03-05",, "2023-03-05","domenica",,
"2023-03-06",, "2023-03-06","lunedì",,
"2023-03-07",, "2023-03-07","martedì",,
"2023-03-08",, "2023-03-08","mercoledì",,
"2023-03-09",, "2023-03-09","giovedì",,
"2023-03-10",, "2023-03-10","venerdì",,
"2023-03-11",, "2023-03-11","sabato",,
"2023-03-12",, "2023-03-12","domenica",,
"2023-03-13",, "2023-03-13","lunedì",,
"2023-03-14",, "2023-03-14","martedì",,
"2023-03-15",, "2023-03-15","mercoledì",,
"2023-03-16",, "2023-03-16","giovedì",,
"2023-03-17",, "2023-03-17","venerdì",,
"2023-03-18",, "2023-03-18","sabato",,
"2023-03-19",, "2023-03-19","domenica",,
"2023-03-20",, "2023-03-20","lunedì",,
"2023-03-21",, "2023-03-21","martedì",,
"2023-03-22",, "2023-03-22","mercoledì",,
"2023-03-23",, "2023-03-23","giovedì",,
"2023-03-24",, "2023-03-24","venerdì",,
"2023-03-25",, "2023-03-25","sabato",,
"2023-03-26",, "2023-03-26","domenica",,
"2023-03-27",, "2023-03-27","lunedì",,
"2023-03-28",, "2023-03-28","martedì",,
"2023-03-29",, "2023-03-29","mercoledì",,
"2023-03-30",, "2023-03-30","giovedì",,
"2023-03-31",, "2023-03-31","venerdì",,
"2023-04-01",, "2023-04-01","sabato",,
"2023-04-02",, "2023-04-02","domenica",,
"2023-04-03",, "2023-04-03","lunedì",,
"2023-04-04",, "2023-04-04","martedì",,
"2023-04-05",, "2023-04-05","mercoledì",,
"2023-04-06",, "2023-04-06","giovedì",,
"2023-04-07",, "2023-04-07","venerdì",,
"2023-04-08",, "2023-04-08","sabato",,
"2023-04-09",, "2023-04-09","domenica",,
"2023-04-10",, "2023-04-10","lunedì",,
"2023-04-11",, "2023-04-11","martedì",,
"2023-04-12",, "2023-04-12","mercoledì",,
"2023-04-13",, "2023-04-13","giovedì",,
"2023-04-14",, "2023-04-14","venerdì",,
"2023-04-15",, "2023-04-15","sabato",,
"2023-04-16",, "2023-04-16","domenica",,
"2023-04-17",, "2023-04-17","lunedì",,
"2023-04-18",, "2023-04-18","martedì",,
"2023-04-19",, "2023-04-19","mercoledì",,
"2023-04-20",, "2023-04-20","giovedì",,
"2023-04-21",, "2023-04-21","venerdì",,
"2023-04-22",, "2023-04-22","sabato",,
"2023-04-23",, "2023-04-23","domenica",,
"2023-04-24",, "2023-04-24","lunedì",,
"2023-04-25",, "2023-04-25","martedì",,
"2023-04-26",, "2023-04-26","mercoledì",,
"2023-04-27",, "2023-04-27","giovedì",,
"2023-04-28",, "2023-04-28","venerdì",,
"2023-04-29",, "2023-04-29","sabato",,
"2023-04-30",, "2023-04-30","domenica",,
"2023-05-01",, "2023-05-01","lunedì",,
"2023-05-02",, "2023-05-02","martedì",,
"2023-05-03",, "2023-05-03","mercoledì",,
"2023-05-04",, "2023-05-04","giovedì",,
"2023-05-05",, "2023-05-05","venerdì",,
"2023-05-06",, "2023-05-06","sabato",,
"2023-05-07",, "2023-05-07","domenica",,
"2023-05-08",, "2023-05-08","lunedì",,
"2023-05-09",, "2023-05-09","martedì",,
"2023-05-10",, "2023-05-10","mercoledì",,
"2023-05-11",, "2023-05-11","giovedì",,
"2023-05-12",, "2023-05-12","venerdì",,
"2023-05-13",, "2023-05-13","sabato",,
"2023-05-14",, "2023-05-14","domenica",,
"2023-05-15",, "2023-05-15","lunedì",,
"2023-05-16",, "2023-05-16","martedì",,
"2023-05-17",, "2023-05-17","mercoledì",,
"2023-05-18",, "2023-05-18","giovedì",,
"2023-05-19",, "2023-05-19","venerdì",,
"2023-05-20",, "2023-05-20","sabato",,
"2023-05-21",, "2023-05-21","domenica",,
"2023-05-22",, "2023-05-22","lunedì",,
"2023-05-23",, "2023-05-23","martedì",,
"2023-05-24",, "2023-05-24","mercoledì",,
"2023-05-25",, "2023-05-25","giovedì",,
"2023-05-26",, "2023-05-26","venerdì",,
"2023-05-27",, "2023-05-27","sabato",,
"2023-05-28",, "2023-05-28","domenica",,
"2023-05-29",, "2023-05-29","lunedì",,
"2023-05-30",, "2023-05-30","martedì",,
"2023-05-31",, "2023-05-31","mercoledì",,
"2023-06-01",, "2023-06-01","giovedì",,
"2023-06-02",, "2023-06-02","venerdì",,
"2023-06-03",, "2023-06-03","sabato",,
"2023-06-04",, "2023-06-04","domenica",,
"2023-06-05",, "2023-06-05","lunedì",,
"2023-06-06",, "2023-06-06","martedì",,
"2023-06-07",, "2023-06-07","mercoledì",,
"2023-06-08",, "2023-06-08","giovedì",,
"2023-06-09",, "2023-06-09","venerdì",,
"2023-06-10",, "2023-06-10","sabato",,
"2023-06-11",, "2023-06-11","domenica",,
"2023-06-12",, "2023-06-12","lunedì",,
"2023-06-13",, "2023-06-13","martedì",,
"2023-06-14",, "2023-06-14","mercoledì",,
"2023-06-15",, "2023-06-15","giovedì",,
"2023-06-16",, "2023-06-16","venerdì",,
"2023-06-17",, "2023-06-17","sabato",,
"2023-06-18",, "2023-06-18","domenica",,
"2023-06-19",, "2023-06-19","lunedì",,
"2023-06-20",, "2023-06-20","martedì",,
"2023-06-21",, "2023-06-21","mercoledì",,
"2023-06-22",, "2023-06-22","giovedì",,
"2023-06-23",, "2023-06-23","venerdì",,
"2023-06-24",, "2023-06-24","sabato",,
"2023-06-25",, "2023-06-25","domenica",,
"2023-06-26",, "2023-06-26","lunedì",,
"2023-06-27",, "2023-06-27","martedì",,
"2023-06-28",, "2023-06-28","mercoledì",,
"2023-06-29",, "2023-06-29","giovedì",,
"2023-06-30",, "2023-06-30","venerdì",,
"2023-07-01",, "2023-07-01","sabato",,
"2023-07-02",, "2023-07-02","domenica",,
"2023-07-03",, "2023-07-03","lunedì",,
"2023-07-04",, "2023-07-04","martedì",,
"2023-07-05",, "2023-07-05","mercoledì",,
"2023-07-06",, "2023-07-06","giovedì",,
"2023-07-07",, "2023-07-07","venerdì",,
"2023-07-08",, "2023-07-08","sabato",,
"2023-07-09",, "2023-07-09","domenica",,
"2023-07-10",, "2023-07-10","lunedì",,
"2023-07-11",, "2023-07-11","martedì",,
"2023-07-12",, "2023-07-12","mercoledì",,
"2023-07-13",, "2023-07-13","giovedì",,
"2023-07-14",, "2023-07-14","venerdì",,
"2023-07-15",, "2023-07-15","sabato",,
"2023-07-16",, "2023-07-16","domenica",,
"2023-07-17",, "2023-07-17","lunedì",,
"2023-07-18",, "2023-07-18","martedì",,
"2023-07-19",, "2023-07-19","mercoledì",,
"2023-07-20",, "2023-07-20","giovedì",,
"2023-07-21",, "2023-07-21","venerdì",,
"2023-07-22",, "2023-07-22","sabato",,
"2023-07-23",, "2023-07-23","domenica",,
"2023-07-24",, "2023-07-24","lunedì",,
"2023-07-25",, "2023-07-25","martedì",,
"2023-07-26",, "2023-07-26","mercoledì",,
"2023-07-27",, "2023-07-27","giovedì",,
"2023-07-28",, "2023-07-28","venerdì",,
"2023-07-29",, "2023-07-29","sabato",,
"2023-07-30",, "2023-07-30","domenica",,
"2023-07-31",, "2023-07-31","lunedì",,

1 day wday lunch dinner
2 2022-08-01 lunedì https://ricette.giallozafferano.it/Pasta-fredda-con-pesto-senz-aglio.html https://ricette.giallozafferano.it/Riso-freddo-con-tonno-zucchine-e-limone.html
3 2022-08-02 martedì
4 2022-08-03 mercoledì
5 2022-08-04 giovedì
6 2022-08-05 venerdì
7 2022-08-06 sabato
8 2022-08-07 domenica
9 2022-08-08 lunedì
10 2022-08-09 martedì
11 2022-08-10 mercoledì
12 2022-08-11 giovedì
13 2022-08-12 venerdì
14 2022-08-13 sabato
15 2022-08-14 domenica
16 2022-08-15 lunedì
17 2022-08-16 martedì
18 2022-08-17 mercoledì
19 2022-08-18 giovedì
20 2022-08-19 venerdì
21 2022-08-20 sabato
22 2022-08-21 domenica
23 2022-08-22 lunedì
24 2022-08-23 martedì
25 2022-08-24 mercoledì
26 2022-08-25 giovedì
27 2022-08-26 venerdì
28 2022-08-27 sabato
29 2022-08-28 domenica
30 2022-08-29 lunedì
31 2022-08-30 martedì
32 2022-08-31 mercoledì
33 2022-09-01 giovedì
34 2022-09-02 venerdì
35 2022-09-03 sabato
36 2022-09-04 domenica
37 2022-09-05 lunedì
38 2022-09-06 martedì
39 2022-09-07 mercoledì
40 2022-09-08 giovedì
41 2022-09-09 venerdì
42 2022-09-10 sabato
43 2022-09-11 domenica
44 2022-09-12 lunedì
45 2022-09-13 martedì
46 2022-09-14 mercoledì
47 2022-09-15 giovedì
48 2022-09-16 venerdì
49 2022-09-17 sabato
50 2022-09-18 domenica
51 2022-09-19 lunedì
52 2022-09-20 martedì
53 2022-09-21 mercoledì
54 2022-09-22 giovedì
55 2022-09-23 venerdì
56 2022-09-24 sabato
57 2022-09-25 domenica
58 2022-09-26 lunedì
59 2022-09-27 martedì
60 2022-09-28 mercoledì
61 2022-09-29 giovedì
62 2022-09-30 venerdì
63 2022-10-01 sabato
64 2022-10-02 domenica
65 2022-10-03 lunedì
66 2022-10-04 martedì
67 2022-10-05 mercoledì
68 2022-10-06 giovedì
69 2022-10-07 venerdì
70 2022-10-08 sabato
71 2022-10-09 domenica
72 2022-10-10 lunedì
73 2022-10-11 martedì
74 2022-10-12 mercoledì
75 2022-10-13 giovedì
76 2022-10-14 venerdì
77 2022-10-15 sabato
78 2022-10-16 domenica
79 2022-10-17 lunedì
80 2022-10-18 martedì
81 2022-10-19 mercoledì
82 2022-10-20 giovedì
83 2022-10-21 venerdì
84 2022-10-22 sabato
85 2022-10-23 domenica
86 2022-10-24 lunedì
87 2022-10-25 martedì
88 2022-10-26 mercoledì
89 2022-10-27 giovedì
90 2022-10-28 venerdì
91 2022-10-29 sabato
92 2022-10-30 domenica
93 2022-10-31 lunedì
94 2022-11-01 martedì
95 2022-11-02 mercoledì
96 2022-11-03 giovedì
97 2022-11-04 venerdì
98 2022-11-05 sabato
99 2022-11-06 domenica
100 2022-11-07 lunedì
101 2022-11-08 martedì
102 2022-11-09 mercoledì
103 2022-11-10 giovedì
104 2022-11-11 venerdì
105 2022-11-12 sabato
106 2022-11-13 domenica
107 2022-11-14 lunedì
108 2022-11-15 martedì
109 2022-11-16 mercoledì
110 2022-11-17 giovedì
111 2022-11-18 venerdì
112 2022-11-19 sabato
113 2022-11-20 domenica
114 2022-11-21 lunedì
115 2022-11-22 martedì
116 2022-11-23 mercoledì
117 2022-11-24 giovedì
118 2022-11-25 venerdì
119 2022-11-26 sabato
120 2022-11-27 domenica
121 2022-11-28 lunedì
122 2022-11-29 martedì
123 2022-11-30 mercoledì
124 2022-12-01 giovedì
125 2022-12-02 venerdì
126 2022-12-03 sabato
127 2022-12-04 domenica
128 2022-12-05 lunedì
129 2022-12-06 martedì
130 2022-12-07 mercoledì
131 2022-12-08 giovedì
132 2022-12-09 venerdì
133 2022-12-10 sabato
134 2022-12-11 domenica
135 2022-12-12 lunedì
136 2022-12-13 martedì
137 2022-12-14 mercoledì
138 2022-12-15 giovedì
139 2022-12-16 venerdì
140 2022-12-17 sabato
141 2022-12-18 domenica
142 2022-12-19 lunedì
143 2022-12-20 martedì
144 2022-12-21 mercoledì
145 2022-12-22 giovedì
146 2022-12-23 venerdì
147 2022-12-24 sabato
148 2022-12-25 domenica
149 2022-12-26 lunedì
150 2022-12-27 martedì
151 2022-12-28 mercoledì
152 2022-12-29 giovedì
153 2022-12-30 venerdì
154 2022-12-31 sabato
155 2023-01-01 domenica
156 2023-01-02 lunedì
157 2023-01-03 martedì
158 2023-01-04 mercoledì
159 2023-01-05 giovedì
160 2023-01-06 venerdì
161 2023-01-07 sabato
162 2023-01-08 domenica
163 2023-01-09 lunedì
164 2023-01-10 martedì
165 2023-01-11 mercoledì
166 2023-01-12 giovedì
167 2023-01-13 venerdì
168 2023-01-14 sabato
169 2023-01-15 domenica
170 2023-01-16 lunedì
171 2023-01-17 martedì
172 2023-01-18 mercoledì
173 2023-01-19 giovedì
174 2023-01-20 venerdì
175 2023-01-21 sabato
176 2023-01-22 domenica
177 2023-01-23 lunedì
178 2023-01-24 martedì
179 2023-01-25 mercoledì
180 2023-01-26 giovedì
181 2023-01-27 venerdì
182 2023-01-28 sabato
183 2023-01-29 domenica
184 2023-01-30 lunedì
185 2023-01-31 martedì
186 2023-02-01 mercoledì
187 2023-02-02 giovedì
188 2023-02-03 venerdì
189 2023-02-04 sabato
190 2023-02-05 domenica
191 2023-02-06 lunedì
192 2023-02-07 martedì
193 2023-02-08 mercoledì
194 2023-02-09 giovedì
195 2023-02-10 venerdì
196 2023-02-11 sabato
197 2023-02-12 domenica
198 2023-02-13 lunedì
199 2023-02-14 martedì
200 2023-02-15 mercoledì
201 2023-02-16 giovedì
202 2023-02-17 venerdì
203 2023-02-18 sabato
204 2023-02-19 domenica
205 2023-02-20 lunedì
206 2023-02-21 martedì
207 2023-02-22 mercoledì
208 2023-02-23 giovedì
209 2023-02-24 venerdì
210 2023-02-25 sabato
211 2023-02-26 domenica
212 2023-02-27 lunedì
213 2023-02-28 martedì
214 2023-03-01 mercoledì
215 2023-03-02 giovedì
216 2023-03-03 venerdì
217 2023-03-04 sabato
218 2023-03-05 domenica
219 2023-03-06 lunedì
220 2023-03-07 martedì
221 2023-03-08 mercoledì
222 2023-03-09 giovedì
223 2023-03-10 venerdì
224 2023-03-11 sabato
225 2023-03-12 domenica
226 2023-03-13 lunedì
227 2023-03-14 martedì
228 2023-03-15 mercoledì
229 2023-03-16 giovedì
230 2023-03-17 venerdì
231 2023-03-18 sabato
232 2023-03-19 domenica
233 2023-03-20 lunedì
234 2023-03-21 martedì
235 2023-03-22 mercoledì
236 2023-03-23 giovedì
237 2023-03-24 venerdì
238 2023-03-25 sabato
239 2023-03-26 domenica
240 2023-03-27 lunedì
241 2023-03-28 martedì
242 2023-03-29 mercoledì
243 2023-03-30 giovedì
244 2023-03-31 venerdì
245 2023-04-01 sabato
246 2023-04-02 domenica
247 2023-04-03 lunedì
248 2023-04-04 martedì
249 2023-04-05 mercoledì
250 2023-04-06 giovedì
251 2023-04-07 venerdì
252 2023-04-08 sabato
253 2023-04-09 domenica
254 2023-04-10 lunedì
255 2023-04-11 martedì
256 2023-04-12 mercoledì
257 2023-04-13 giovedì
258 2023-04-14 venerdì
259 2023-04-15 sabato
260 2023-04-16 domenica
261 2023-04-17 lunedì
262 2023-04-18 martedì
263 2023-04-19 mercoledì
264 2023-04-20 giovedì
265 2023-04-21 venerdì
266 2023-04-22 sabato
267 2023-04-23 domenica
268 2023-04-24 lunedì
269 2023-04-25 martedì
270 2023-04-26 mercoledì
271 2023-04-27 giovedì
272 2023-04-28 venerdì
273 2023-04-29 sabato
274 2023-04-30 domenica
275 2023-05-01 lunedì
276 2023-05-02 martedì
277 2023-05-03 mercoledì
278 2023-05-04 giovedì
279 2023-05-05 venerdì
280 2023-05-06 sabato
281 2023-05-07 domenica
282 2023-05-08 lunedì
283 2023-05-09 martedì
284 2023-05-10 mercoledì
285 2023-05-11 giovedì
286 2023-05-12 venerdì
287 2023-05-13 sabato
288 2023-05-14 domenica
289 2023-05-15 lunedì
290 2023-05-16 martedì
291 2023-05-17 mercoledì
292 2023-05-18 giovedì
293 2023-05-19 venerdì
294 2023-05-20 sabato
295 2023-05-21 domenica
296 2023-05-22 lunedì
297 2023-05-23 martedì
298 2023-05-24 mercoledì
299 2023-05-25 giovedì
300 2023-05-26 venerdì
301 2023-05-27 sabato
302 2023-05-28 domenica
303 2023-05-29 lunedì
304 2023-05-30 martedì
305 2023-05-31 mercoledì
306 2023-06-01 giovedì
307 2023-06-02 venerdì
308 2023-06-03 sabato
309 2023-06-04 domenica
310 2023-06-05 lunedì
311 2023-06-06 martedì
312 2023-06-07 mercoledì
313 2023-06-08 giovedì
314 2023-06-09 venerdì
315 2023-06-10 sabato
316 2023-06-11 domenica
317 2023-06-12 lunedì
318 2023-06-13 martedì
319 2023-06-14 mercoledì
320 2023-06-15 giovedì
321 2023-06-16 venerdì
322 2023-06-17 sabato
323 2023-06-18 domenica
324 2023-06-19 lunedì
325 2023-06-20 martedì
326 2023-06-21 mercoledì
327 2023-06-22 giovedì
328 2023-06-23 venerdì
329 2023-06-24 sabato
330 2023-06-25 domenica
331 2023-06-26 lunedì
332 2023-06-27 martedì
333 2023-06-28 mercoledì
334 2023-06-29 giovedì
335 2023-06-30 venerdì
336 2023-07-01 sabato
337 2023-07-02 domenica
338 2023-07-03 lunedì
339 2023-07-04 martedì
340 2023-07-05 mercoledì
341 2023-07-06 giovedì
342 2023-07-07 venerdì
343 2023-07-08 sabato
344 2023-07-09 domenica
345 2023-07-10 lunedì
346 2023-07-11 martedì
347 2023-07-12 mercoledì
348 2023-07-13 giovedì
349 2023-07-14 venerdì
350 2023-07-15 sabato
351 2023-07-16 domenica
352 2023-07-17 lunedì
353 2023-07-18 martedì
354 2023-07-19 mercoledì
355 2023-07-20 giovedì
356 2023-07-21 venerdì
357 2023-07-22 sabato
358 2023-07-23 domenica
359 2023-07-24 lunedì
360 2023-07-25 martedì
361 2023-07-26 mercoledì
362 2023-07-27 giovedì
363 2023-07-28 venerdì
364 2023-07-29 sabato
365 2023-07-30 domenica
366 2023-07-31 lunedì

View File

@ -3,7 +3,8 @@
use { use {
crate::recipe::Recipe, crate::recipe::Recipe,
chrono::{DateTime, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone}, chrono::{DateTime, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc},
ics::escape_text,
ics::properties as calprop, ics::properties as calprop,
ics::Event as CalEvent, ics::Event as CalEvent,
std::rc::Rc, std::rc::Rc,
@ -49,13 +50,13 @@ impl<'a> From<Event> for CalEvent<'a> {
fn from(ev: Event) -> Self { fn from(ev: Event) -> Self {
let start_time = ev.ends_at - ev.recipe.total_time(); let start_time = ev.ends_at - ev.recipe.total_time();
let mut event = ics::Event::new(ev.uid.clone(), dt_fmt(&Local::now())); let mut event = ics::Event::new(ev.uid.clone(), dt_utc_fmt(&Utc::now()));
event.push(calprop::Summary::new(ev.recipe.name.clone())); event.push(calprop::Summary::new(escape_text(ev.recipe.name.clone())));
event.push(calprop::Description::new(format!( event.push(calprop::Description::new(format!(
"cookbook@{}", "cookbook@{}",
ev.recipe.id ev.recipe.id
))); )));
event.push(calprop::Location::new(ev.recipe.url.clone())); event.push(calprop::Location::new(escape_text(ev.recipe.url.clone())));
event.push(calprop::DtStart::new(dt_fmt( event.push(calprop::DtStart::new(dt_fmt(
&Local.from_local_datetime(&start_time).unwrap(), &Local.from_local_datetime(&start_time).unwrap(),
))); )));
@ -68,7 +69,7 @@ impl<'a> From<Event> for CalEvent<'a> {
let alarm = ics::Alarm::display( let alarm = ics::Alarm::display(
calprop::Trigger::new("-P15M"), calprop::Trigger::new("-P15M"),
calprop::Description::new(ev.recipe.name.clone()), calprop::Description::new(escape_text(ev.recipe.name.clone())),
); );
event.add_alarm(alarm); event.add_alarm(alarm);
event event
@ -78,3 +79,7 @@ impl<'a> From<Event> for CalEvent<'a> {
fn dt_fmt(datetime: &DateTime<Local>) -> String { fn dt_fmt(datetime: &DateTime<Local>) -> String {
datetime.format("%Y%m%dT%H%M%S").to_string() datetime.format("%Y%m%dT%H%M%S").to_string()
} }
fn dt_utc_fmt(datetime: &DateTime<Utc>) -> String {
datetime.format("%Y%m%dT%H%M%SZ").to_string()
}