dockerfile - add TZ env var + title has changed to 2 teams playing

This commit is contained in:
Kfir Dayan 2023-09-10 09:51:08 +03:00
parent 0362566c2a
commit dc57073067
3 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
FROM node:16 FROM node:16
ENV TZ=Asia/Jerusalem
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY package*.json ./ COPY package*.json ./

2
dist/GameSource.js vendored
View file

@ -40,7 +40,7 @@ class GameSource {
.add(2, "hours") .add(2, "hours")
.toISOString(); .toISOString();
games.push({ games.push({
summary: "Maccabi Haifa F.C.", summary: `${teamsPlaying[0]} vs. ${teamsPlaying[1]}`,
location: headerSplit[headerSplit.length - 1].trim(), location: headerSplit[headerSplit.length - 1].trim(),
description: `${teamsPlaying[0]} vs. ${teamsPlaying[1]}`, description: `${teamsPlaying[0]} vs. ${teamsPlaying[1]}`,
start: { start: {

View file

@ -46,7 +46,7 @@ export default class GameSource {
.toISOString(); .toISOString();
games.push({ games.push({
summary: "Maccabi Haifa F.C.", summary: `${teamsPlaying[0]} vs. ${teamsPlaying[1]}`,
location: headerSplit[headerSplit.length - 1].trim(), location: headerSplit[headerSplit.length - 1].trim(),
description: `${teamsPlaying[0]} vs. ${teamsPlaying[1]}`, description: `${teamsPlaying[0]} vs. ${teamsPlaying[1]}`,
start: { start: {