Skip to content

Cannot modify due correctly #26

@riodelphino

Description

@riodelphino

Describe the bug
When I edit a task, I cannot modify the existing due field correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Add new task
  2. Set title as test
  3. Set due as 2026-05-05 18:00
  4. Remain other fields as default
  5. ctrl+s to save it
  6. Hit e key to check and edit the task
  7. The due field displays 2026-05-05 05:05 (The hour & minute are wrong)

Expected Behaviour
7. The due field displays 2026-05-05 18:00

Screenshots

Environment (please complete the following information):

  • OS: macOS Sequoia
  • Kairo Version: 1.5.0
  • Go Version: go1.26.1 darwin/amd64

Additional context
When yyyy-MM-dd is 2026-05-05, The time is overwritten by 05:05.
When yyyy-MM-dd is 2026-06-10, The time is overwritten by 06:10.
So the code might mistake MM-dd as hh:mm.

Metadata

Metadata

Labels

backendanything related to core logicbugSomething isn't workingdocumentationImprovements or additions to documentationimportantvery urgent, must be done asap

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions