[wesnoth-commits] [wesnoth/wesnoth] 91db37: irdya_date: Fix comparison of BW/BF years returnin...

GitHub noreply at github.com
Fri Oct 19 19:27:27 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 91db37daabbdc9de42e2d158408ccdf898c992ef
      https://github.com/wesnoth/wesnoth/commit/91db37daabbdc9de42e2d158408ccdf898c992ef
  Author: josteph <josteph at fastmail.com>
  Date:   2018-10-19 (Fri, 19 Oct 2018)

  Changed paths:
    M src/tests/test_irdya_date.cpp
    M src/utils/irdya_datetime.cpp

  Log Message:
  -----------
  irdya_date: Fix comparison of BW/BF years returning true for both 12 BW < 34 BW and 34 BW < 12 BW.

The block on line 99 was entered for BW years, but shouldn't have been.

Fixes #3187.

(cherry picked from commit 5e97d1505f529c45ff8e48f694b6fd938b56e3af)


  Commit: 801d6f5c4f18ca39ef9edc3871d6198d2d69e638
      https://github.com/wesnoth/wesnoth/commit/801d6f5c4f18ca39ef9edc3871d6198d2d69e638
  Author: josteph <josteph at fastmail.com>
  Date:   2018-10-19 (Fri, 19 Oct 2018)

  Changed paths:
    M src/tests/test_irdya_date.cpp

  Log Message:
  -----------
  irdya_date: Extend tests


Compare: https://github.com/wesnoth/wesnoth/compare/06f84a7f489e...801d6f5c4f18
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list