Skip to content

Commit

Permalink
fix: format for SLSTR1
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Sep 27, 2024
1 parent 1a1cfc6 commit 5bf2645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/config/trilateral.js
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ export const globalIndicators = [
indicatorObject: {
indicator: 'SLSTR1',
display: {
dateFormatFunction: (date) => `${DateTime.fromISO(date).toFormat('yyyy-MM-dd')}/${DateTime.fromISO(date).plus({ days: 1 }).set({ hour: 23 }).toFormat('yyyy-MM-dd')}`
dateFormatFunction: (date) => `${DateTime.fromISO(date).set({ hour: 0, minute: 0, second: 0 }).toFormat("yyyy-MM-dd'T'HH:mm:ss")}/${DateTime.fromISO(date).set({ hour: 23, minute: 59, second: 0 }).toFormat("yyyy-MM-dd'T'HH:mm:ss")}`

Check failure on line 910 in app/src/config/trilateral.js

View workflow job for this annotation

GitHub Actions / deploy

Missing trailing comma
},
},
},
Expand Down

0 comments on commit 5bf2645

Please sign in to comment.