Update date handling logic in `server/routes.ts` to prevent timezone-related shifts when assigning shifts, by parsing dates using components instead of ISO strings. Documentation in `replit.md` has also been updated with new rules to avoid this recurring problem. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e5565357-90e1-419f-b9a8-6ee8394636df Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/e5565357-90e1-419f-b9a8-6ee8394636df/2w7P7NW
72 lines
1.1 KiB
Plaintext
72 lines
1.1 KiB
Plaintext
modules = ["nodejs-20", "web", "postgresql-16"]
|
|
run = "npm run dev"
|
|
hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"]
|
|
|
|
[nix]
|
|
channel = "stable-24_05"
|
|
packages = ["nano", "zip", "openssh"]
|
|
|
|
[deployment]
|
|
deploymentTarget = "autoscale"
|
|
build = ["npm", "run", "build"]
|
|
run = ["npm", "run", "start"]
|
|
|
|
[[ports]]
|
|
localPort = 5000
|
|
externalPort = 80
|
|
|
|
[[ports]]
|
|
localPort = 33035
|
|
externalPort = 3001
|
|
|
|
[[ports]]
|
|
localPort = 37831
|
|
externalPort = 5173
|
|
|
|
[[ports]]
|
|
localPort = 41343
|
|
externalPort = 3000
|
|
|
|
[[ports]]
|
|
localPort = 41803
|
|
externalPort = 4200
|
|
|
|
[[ports]]
|
|
localPort = 42175
|
|
externalPort = 3002
|
|
|
|
[[ports]]
|
|
localPort = 43169
|
|
externalPort = 5000
|
|
|
|
[[ports]]
|
|
localPort = 43267
|
|
externalPort = 3003
|
|
|
|
[env]
|
|
PORT = "5000"
|
|
|
|
[workflows]
|
|
runButton = "Project"
|
|
|
|
[[workflows.workflow]]
|
|
name = "Project"
|
|
mode = "parallel"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "workflow.run"
|
|
args = "Start application"
|
|
|
|
[[workflows.workflow]]
|
|
name = "Start application"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "shell.exec"
|
|
args = "npm run dev"
|
|
waitForPort = 5000
|
|
|
|
[agent]
|
|
integrations = ["javascript_database:1.0.0", "javascript_log_in_with_replit:1.0.0"]
|