cubehouse / themeparks

Unofficial API for accessing ride wait times and schedules for Disneyland, Disney World, Universal Studios, and many more parks
MIT License
540 stars 126 forks source link

Disneyland Paris Opening Times #182

Closed LouisForaux closed 5 years ago

LouisForaux commented 5 years ago

Park Disneyland Paris (MK/WDS)

Context

Describe the bug Not the right opening times are showed.

Output

{

"date": "2019-06-15",

"openingTime": "2019-06-15T12:00:00+02:00",

"closingTime": "2019-06-16T01:00:00+02:00",

"type": "Operating",

"special": [

{

"openingTime": "TZ|2019-06-15T06:30:00.000Z|Europe/Paris",

"closingTime": "TZ|2019-06-15T07:30:00.000Z|Europe/Paris",

"type": "Extra Magic Hours"

},

{

"openingTime": "TZ|2019-06-14T06:30:00.000Z|Europe/Paris",

"closingTime": "TZ|2019-06-14T07:30:00.000Z|Europe/Paris",

"type": "Extra Magic Hours"

},

{

"openingTime": "TZ|2019-06-14T08:30:00.000Z|Europe/Paris",

"closingTime": "TZ|2019-06-14T09:30:00.000Z|Europe/Paris",

"type": "Extra Magic Hours"

},

{

"openingTime": "TZ|2019-06-15T08:30:00.000Z|Europe/Paris",

"closingTime": "TZ|2019-06-15T09:30:00.000Z|Europe/Paris",

"type": "Extra Magic Hours"

}

]

},

Many different times for Extra Magical Hours (2 was not the right hours) and the opening times are 12h to 1h

LouisForaux commented 5 years ago

After checking, an update of tmp data was necessary. The opening times are the right opening times. At this time, no explications for the wrong EMH.

cubehouse commented 5 years ago

This looks like the "special" schedule times are being returned in the wrong format (that looks like the internal Moment caching format I'm using).

cubehouse commented 5 years ago

Looking at this closer, those times aren't right, they're in the wrong timezone.

I'll look into the special hour time format in a bit..

cubehouse commented 5 years ago

Should be fixed with 197d70139681312e46c809751c3b347fcd845ebd.

Will be rolled out to npm in a while in 5.1.5