Closed jagtalon closed 9 years ago
There are a lot of date-related functions in airlines.js and route.js. Maybe it could be simpler if we use moment.js. Here's an example on how to use it: https://github.com/duckduckgo/zeroclickinfo-spice/blob/84bff0bfb0b277c38c5268d511eb70a5d783b24b/share/spice/get_events/get_events.js#L10
@jagtalon that's being take care of in https://github.com/duckduckgo/zeroclickinfo-spice/pull/1736/files
There are a lot of date-related functions in airlines.js and route.js. Maybe it could be simpler if we use moment.js. Here's an example on how to use it: https://github.com/duckduckgo/zeroclickinfo-spice/blob/84bff0bfb0b277c38c5268d511eb70a5d783b24b/share/spice/get_events/get_events.js#L10