Hide Forgot
securitylevel_name: Public Billing period starts with Monday, but Monday is not necessarily the first day of week. Because TimeInterval forces time zone to EST, week actually starts by Sunday. When running tests on Sunday, in computes interval from next Monday to next Sunday, leading to failure. This affects both WEEKLY and BI_WEEKLY invoicing.
The fix leads to incorrect invoice generation in sporstclub/invoicing module. E.g. on Sunday March, 27 the invoice for BI_WEEKLY subscriber Vetinari is generated to March, 26, which is not correct.
Date normalization should have included milliseconds.
Reopened as testing fails due to wrongly written test. Please include following commit http://git.engineering.redhat.com/?p=users/kpiwko/snowdrop-examples.git;a=commit;h=5fa77776520890d080dbed536ec4f48d2e0408be
On March 31, 12:56 CET the testMonthly() test is failing. Something is wrong with this component.
Hopefully, this time for good.
Verified as fixed.