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

taskController.go time parser issue #4

Open
dzodkin33 opened this issue Aug 15, 2022 · 0 comments
Open

taskController.go time parser issue #4

dzodkin33 opened this issue Aug 15, 2022 · 0 comments

Comments

@dzodkin33
Copy link
Collaborator

Time doesn't work. Probably the issue with incorrect value passing between typescript and go. Throws error:

plannerxyi-backend-1  | 2022/08/15 08:27:24 /app/src/controllers/taskController.go:44 Error 1292: Incorrect datetime value: '0000-00-00' for column 'task_deadline' at row 1

plannerxyi-backend-1  | [10.047ms] [rows:0] INSERT INTO `tasks` (`task_name`,`task_description`,`task_deadline`,`user_id`) VALUES ('test','description','0000-00-00 00:00:00',5)
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