Skip to content

Commit

Permalink
fix(update-stock): save time in ISO
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Jul 18, 2024
1 parent 1707d61 commit 25582a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/lib/cron-events-horus.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ const productsStocksEvents = async (horus, storeId, opts) => {
return Promise.all(promisesSendTopics)
.then(() => {
docRef.set({
dateInit,
dateEnd,
dateInit: dateInit.toISOString(),
dateEnd: dateEnd.toISOString(),
offset,
hasRepeat,
updated_at: new Date().toISOString()
Expand Down

0 comments on commit 25582a5

Please sign in to comment.