lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit ed443054 authored by Romain Courteaud's avatar Romain Courteaud :octopus:

Open Order line start/stop date have the same timezone.

......@@ -853,6 +853,7 @@ class TestHostingSubscription_requestUpdateOpenSaleOrder(testSlapOSMixin):
# calculate stop date to be after now, begin with start date with precision
# of month
now = DateTime()
now = now.toZone(request_time.timezone())
stop_date = getClosestDate(target_date=now, precision='month')
stop_date = addToDate(stop_date, to_add={'second': -1})
self.assertEqual(stop_date, line.getStopDate())
......
258
\ No newline at end of file
259
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment