dsegovia90 / chingu

Pair programming app for chingu cohorts.
https://chingupp.herokuapp.com/
3 stars 3 forks source link

fixed bug when timezone at end ranges (e.g. -12) #39

Closed AgathaLynn closed 7 years ago

AgathaLynn commented 7 years ago

Basically, if the timezone value was -12, then start was -1, and the "slice" of acceptable timezones was an empty array... because you can't start slicing at index = -1.