summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorStuart Longland <me@vk4msl.yi.org>2012-03-23 15:21:46 +1000
committerStuart Longland <me@vk4msl.yi.org>2012-03-23 15:21:46 +1000
commit28c4e5530f062cc7c618c67810220e5126330d5e (patch)
treed4172c183b9e1d52159bd3a0b0ebe1a7cd4013fa /addons/analytic_user_function/analytic_user_function_view.xml
parent343158f39fb5c80aaa8dd01e1409e27953e297b6 (diff)
faces: Fix 24-hour and end-at-midnight timespans
In cases where a working day either: - Spans 24 hours or - ends at midnight the time span calculation code incorrectly calculates the time of that day, either stating that the day is 0 minutes long, or worse, is negative. The following patch addresses this. Non-working days are specified using the Python 'None', or 'False' values, rather than specifying the same start and end time, as the latter will now be interpreted as a 24-hour period. bzr revid: me@vk4msl.yi.org-20120323052146-vosvz50lg12n7e1i
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions