mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
Ensure that dates in BOM AJAX requests have timezones
This commit is contained in:
@@ -19,7 +19,9 @@ describe "LineItemsCtrl", ->
|
||||
LineItems = _LineItems_
|
||||
OrderCycles = _OrderCycles_
|
||||
VariantUnitManager = _VariantUnitManager_
|
||||
spyOn(window, "daysFromToday").andReturn "SomeDate"
|
||||
spyOn(window, "formatDate").andReturn "SomeDate"
|
||||
spyOn(window, "parseDate").andReturn "SomeDate"
|
||||
|
||||
supplier = { id: 1, name: "Supplier" }
|
||||
distributor = { id: 5, name: "Distributor" }
|
||||
|
||||
Reference in New Issue
Block a user