Add timedelta(days=1) to datetime.now() objects when interval is either daily, weekly, or monthly.
Include a day-shift calculation, as, for some assets, their timestamps don't match the actual dates, e.g. U.S. 10Y.
๐ Linked Issue
40
๐งช Tests
[X] Did you implement unit tests if required?
If the above checkbox is checked, describe how you unit-tested it.
Current unit tests were not passing due to the timezone conversions, but after implementing the day-shift mechanism, those are working back again, since the timezones didn't have anything to do with the bug.
๐ Bug Fixes
timedelta(days=1)
todatetime.now()
objects when interval is either daily, weekly, or monthly.๐ Linked Issue
40
๐งช Tests
If the above checkbox is checked, describe how you unit-tested it.
Current unit tests were not passing due to the timezone conversions, but after implementing the day-shift mechanism, those are working back again, since the timezones didn't have anything to do with the bug.