cubehouse / themeparks

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

Disneyland Paris Ride Opening time bad format #241

Closed LouisForaux closed 5 years ago

LouisForaux commented 5 years ago

Park Disneyland Paris (MK & WDS)

Context

Describe the bug The rides opening times are in this format : "08:30:00" and not in MomentJS Format

Output meta: openingTime : "08:30:00" closingTime : "19:00:00"

cubehouse commented 5 years ago

Meta data is much "looser" than other data, it's optional and will be in various formats for any park (or not exist at all). If it would be better as a Moment object, please feel free to pull request it.

LouisForaux commented 5 years ago

I've made the #242 pull request ;)

cubehouse commented 5 years ago

Paris now returns meta like this:

    "meta": {
        "rideOpeningTime": "2019-10-19T08:27:00+02:00",
        "rideClosingTime": "2019-10-19T20:00:00+02:00",
        "singleRider": true,
        "singleRiderWaitTime": 30
    }

Hope that works and is formatted better now!