Sort passes by upcoming and past events
Show upcoming events first (sorted by date ascending), then past events (sorted by date descending). Also show a small divider to better differentiate between the upcoming and past section.
I can open a PR as soon as I have implemented this if you want. Will definitely implement this in my fork.
I would like to see this functionality as well. Would be great if you could submit a PR for this @simontb! 😄
A problem is, that there are not only events, but also other kinds of passes. I started looking into this, but did not complete this so far, mainly because I am confused by the various PassTypes and what this means for the attributes validTimespans and calendarTimespan.
I would continue, if I had example passes for all types. Then I could debug and try to find a consistent solution. Maybe @ligi can provide some?
@simontb i believe there are a great number of example passes online, e.g. a whole collection at http://passdock.com/create-mobile-passes
+2 in v3.4.5 the (lack of) ordering, and separation of expired, is the single most confusing aspect of this otherwise GREAT free app (TX for it!).