LocalOrbit / localorbit

Local Orbit is an open source web application and service that empowers food hubs to efficiently sell and distribute local food.
https://localorbit.com
MIT License
16 stars 11 forks source link

'Choose delivery' screen doesn't sort by delivery date correctly #3478

Closed rbarreca closed 6 years ago

rbarreca commented 6 years ago

Describe the bug On the 'Choose delivery' screen the delivery/pickup options aren't sorted by buyer delivery date as one would expect

To Reproduce Steps to reproduce the behavior:

  1. Click Order
  2. Get to 'Choose delivery' screen on a market with a pickup and delivery with same supplier cutoff (try Farm Link)
  3. Saturday appears before Friday

Expected behavior Friday to left of Saturday

Screenshots

screen shot 2018-10-18 at 9 18 16 pm