@vixoniccom/footbal-score 1.4.6-dev.6 → 1.4.6-dev.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.4.6-dev.7](https://github.com/Vixonic/store-football-score/compare/v1.4.6-dev.6...v1.4.6-dev.7) (2026-06-22)
6
+
5
7
  ### [1.4.6-dev.6](https://github.com/Vixonic/store-football-score/compare/v1.4.6-dev.5...v1.4.6-dev.6) (2026-06-22)
6
8
 
7
9
  ### [1.4.6-dev.5](https://github.com/Vixonic/store-football-score/compare/v1.4.6-dev.4...v1.4.6-dev.5) (2026-06-22)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixoniccom/footbal-score",
3
3
  "alias": "Resultados Deportivos",
4
- "version": "1.4.6-dev.6",
4
+ "version": "1.4.6-dev.7",
5
5
  "description": "Muestra resultados en vivo de fútbol.",
6
6
  "main": "main.js",
7
7
  "author": "",
package/src/App.tsx CHANGED
@@ -19,12 +19,16 @@ export const App: React.FunctionComponent<Props> = ({ appData, start, fixtures }
19
19
  ? `url("${downloadsPath}/${backgroundImage.filename}")`
20
20
  : ''
21
21
 
22
- const today = moment().format('YYYY-MM-DD')
23
- const yesterdayStr = moment().subtract(1, 'days').format('YYYY-MM-DD')
24
- const tomorrowStr = moment().add(1, 'days').format('YYYY-MM-DD')
22
+ const serviceUtcOffset = fixtures[0]
23
+ ? moment.parseZone(fixtures[0].fixture.date).utcOffset()
24
+ : 0
25
+
26
+ const today = moment().utcOffset(serviceUtcOffset).format('YYYY-MM-DD')
27
+ const yesterdayStr = moment().utcOffset(serviceUtcOffset).subtract(1, 'days').format('YYYY-MM-DD')
28
+ const tomorrowStr = moment().utcOffset(serviceUtcOffset).add(1, 'days').format('YYYY-MM-DD')
25
29
 
26
30
  const filteredFixtures = fixtures.filter(f => {
27
- const fixtureDate = moment(f.fixture.date).format('YYYY-MM-DD')
31
+ const fixtureDate = moment.parseZone(f.fixture.date).format('YYYY-MM-DD')
28
32
  if (fixtureDate === today) return true
29
33
  if (fixtureDate === yesterdayStr && matchesYesterday) return true
30
34
  if (fixtureDate === tomorrowStr && matchesTomorrow) return true