Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date of new todos is the date of when the multi-container-app boots #2

Open
chrycon opened this issue Jul 18, 2023 · 1 comment
Open

Comments

@chrycon
Copy link

chrycon commented Jul 18, 2023

Description

As I was following the short tutorial for the multi-container-app, I noticed that all todos have the same date next to them, which is also the date of when the app boots.

Reproduce

  1. docker-compose up -d
  2. Add some todos over a span of 2-3 minutes.

Expected behavior

Each todo has its own timestamp for the time it was created. I believe the logic from models/Todo.js should move to routes/front.js.

@chrycon
Copy link
Author

chrycon commented Jul 18, 2023

@nunocoracao I am not sure if you accept contributions in this repo, but I'd be happy to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant