thamara / time-to-leave

Log work hours and get notified when it's time to leave the office and start to live.
http://timetoleave.app
GNU General Public License v3.0
463 stars 272 forks source link

Months start counting from zero #941

Closed timagixe closed 1 year ago

timagixe commented 1 year ago

Describe the issue When window to remove two entries from day shows up it states 2023-0-18, instead of 2023-1-18. Months are counted from zero.

To Reproduce Steps to reproduce the behavior:

  1. got to month view
  2. add two entries to any day
  3. remove two entries
  4. observe confirmation window

Expected behavior Modals shows date and month is counted from 1

Environment

Screenshots Screen Shot 2023-01-29 at 9 42 43 PM Screen Shot 2023-01-29 at 9 43 40 PM

Additional context N/A

timagixe commented 1 year ago

This is something I would expect to see. I can open PR if needed. Just let me know.

Screen Shot 2023-01-29 at 10 07 52 PM
tupaschoal commented 1 year ago

I'd you know what to fix, please do!

timagixe commented 1 year ago

Changes introduced in #942 fixes issue described above. Screen Shot 2023-01-31 at 9 01 14 AM Screen Shot 2023-01-31 at 9 01 20 AM