1. 01 Apr, 2021 1 commit
  2. 21 Mar, 2021 2 commits
  3. 20 Mar, 2021 4 commits
  4. 19 Mar, 2021 1 commit
  5. 17 Mar, 2021 3 commits
    • David Faure's avatar
      363cd007
    • Volker Krause's avatar
      Fix calculation of easter offsets · 6b5751c4
      Volker Krause authored
      Using the same approach as for calculating weekday offsets from month
      boundaries is wrong on multiple levels (wrong reference dates, wrong
      handling of Sunday offsets), so add a separate method for this.
      6b5751c4
    • David Faure's avatar
      autocorrect wrong use of ';' where ',' was expected · 26569483
      David Faure authored
      We can detect the common case of
      - Mo-Sa 12:00-15:00; 18:00-24:00
      + Mo-Sa 12:00-15:00,18:00-24:00
      based on the fact that the second rule has no time selector.
      
      The JS evaluation_tool doesn't do this autocorrect though, and
      adds the two time ranges (as if "Mo-Sa 12:00-15:00, Mo-Su 18:00-24:00")
      rather than overwriting the first rule with the second as I thought would happen.
      
      It's still very unlikely that this is what the author meant though...
      
      Do the same in case of identical weekdays (and no other selector):
      - Mo-Sa 12:00-15:00; Mo-Sa 18:00-24:00
      + Mo-Sa 12:00-15:00,18:00-24:00
      26569483
  6. 14 Mar, 2021 3 commits
  7. 13 Mar, 2021 3 commits
  8. 07 Mar, 2021 1 commit
  9. 22 Feb, 2021 1 commit
  10. 21 Feb, 2021 4 commits
  11. 20 Feb, 2021 1 commit
    • David Faure's avatar
      Add abbreviated French days · 4f54362b
      David Faure authored
      This adds
      Ma, Me, Je, Ve
      (but not Mar because of March)
      
      AFAICS they don't conflict with other languages,
      and Me+Ve also work for italian.
      4f54362b
  12. 14 Feb, 2021 1 commit
  13. 13 Feb, 2021 2 commits
  14. 25 Jan, 2021 1 commit
  15. 24 Jan, 2021 1 commit
  16. 23 Jan, 2021 1 commit
  17. 20 Jan, 2021 1 commit
  18. 19 Jan, 2021 1 commit
  19. 17 Jan, 2021 1 commit
    • David Faure's avatar
      Add two more unittests just to make sure. · c60b6edc
      David Faure authored
      They pass, but somehow osmose says we removed 'off' and 'closed'
      from those strings. Maybe an earlier version of KOpeningHours...
      Or something weird's happening.
      c60b6edc
  20. 15 Jan, 2021 2 commits
  21. 14 Jan, 2021 2 commits
  22. 13 Jan, 2021 1 commit
  23. 11 Jan, 2021 1 commit
  24. 09 Jan, 2021 1 commit
    • David Faure's avatar
      Generalize the weekday autocorrect · 94b631dc
      David Faure authored
      Sep 16-Jun 15: Tu-Fr, Sa, Su [1,3] 09:00-14:00
      was normalized as
      Sep 16-Jun 15: Tu-Fr, Sa,Su[1,3] 09:00-14:00
      with a missing weekday autocorrects: the space before the first "Sa".
      This is because the monthday selector was preventing the first two rules
      from being collapsed together.
      
      This commit generalizes the weekday autocorrect to accept any additional
      selector in the first rule, except of course a time selector.
      It adds made-up testcases for the other cases of selectors in the first
      rule (a year range, a week range).
      I also grouped together all testcases that are mostly about the weekday
      autocorrect.
      94b631dc