diff --git a/package.json b/package.json
index 022b473..91d9ff7 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "sncf.js",
-	"version": "2.4.1",
+	"version": "2.4.2",
 	"description": "An easy to use javascript module to get all the information in real time about the trains ©SNCF (only in France)",
 	"scripts": {
 		"test": "nodemon test.js --watch test.js --watch dist",
diff --git a/src/structures/Calendar.ts b/src/structures/Calendar.ts
index 417d055..680b378 100644
--- a/src/structures/Calendar.ts
+++ b/src/structures/Calendar.ts
@@ -15,8 +15,8 @@ export class Calendar {
 			// @ts-ignore
 			.map(active_period => {
 			return {
-				start_date: new Date(active_period.start_date.slice(0, 4), active_period.start_date.slice(4, 6) - 1, active_period.start_date.slice(6, 8)),
-				end_date: new Date(active_period.end_date.slice(0, 4), active_period.end_date.slice(4, 6) - 1, active_period.end_date.slice(6, 8))
+				start_date: new Date(active_period.begin.slice(0, 4), active_period.begin.slice(4, 6) - 1, active_period.begin.slice(6, 8)),
+				end_date: new Date(active_period.end.slice(0, 4), active_period.end.slice(4, 6) - 1, active_period.end.slice(6, 8))
 			}
 		});
 		this.week_pattern = {