plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Date Input in Gantt is off by one day.

Open KarloDerEchte opened this issue 2 years ago • 8 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

As you can see, the start day that has been set via the Gantt Diagram is off by one day in the Issue Peek View.

image

image

This issue still exists in master and in 0.14-dev.

Steps to reproduce

  1. Go to Issues
  2. Create a New Issue
  3. Switch to gantt view
  4. Move date via Drag and Drop
  5. Look at the Issue Peek overview and see that it is off by one day.

Browser

Google Chrome

Version

Self-hosted

KarloDerEchte avatar Dec 11 '23 14:12 KarloDerEchte

Thank you for bringing this to our attention, @KarloDerEchte. It appears to be a bug.

Is this happening with every Issue in your project, or just for a few? Additionally, does this fix the issue with responsiveness? Please provide us with this information; it will assist us in resolving the problem.

cc: @aaryan610

vihar avatar Dec 11 '23 14:12 vihar

This is currently happening at any issue, I am off work now so I can give an update on the responsiveness tomorrow.

KarloDerEchte avatar Dec 11 '23 14:12 KarloDerEchte

If I change the size of the page, the issue persists. Both 0.13 and 0.14(dev branch). If you mean that with responsiveness.

KarloDerEchte avatar Dec 12 '23 06:12 KarloDerEchte

I'm seeing the off by one date issue in several places in the software. For example if I pick December 12th as the Start Date in the Spreadsheet View for a Cycle it will pick December 11th.

roguefalcon avatar Dec 12 '23 17:12 roguefalcon

thanks @roguefalcon and @KarloDerEchte, this should help us debug. we'll work on a fix shortly.

vihar avatar Dec 12 '23 18:12 vihar

@luis-cruzt, @kripainc, @tyleraharrison moving our conversation here from https://github.com/makeplane/plane/issues/1992. We are shortly working on a fix for this, we'll update on this shortly.

vihar avatar Dec 14 '23 19:12 vihar

@luis-cruzt, @kripainc, @tyleraharrison moving our conversation here from https://github.com/makeplane/plane/issues/1992. We are shortly working on a fix for this, we'll update on this shortly.

Awesome, looking forward to it

emilyastranova avatar Dec 14 '23 19:12 emilyastranova

Hi, glad to see this is being worked on as every date picker seems to be off by one day (exp. selecting Dec 14 shows Dec 13 circled)

That being said just wanted to say how much I love plane so far. This is an amazing project so far and I am excited to see its growth!

jordan-zimmitti-newmile avatar Dec 18 '23 22:12 jordan-zimmitti-newmile

What's the status of this issue?

KarloDerEchte avatar Jan 23 '24 06:01 KarloDerEchte

@KarloDerEchte, what version are you using I tried the same in the latest version and was unable to replicate it.

pablohashescobar avatar Jan 23 '24 07:01 pablohashescobar

@KarloDerEchte, what version are you using I tried the same in the latest version and was unable to replicate it.

I am currently on the latest docker image version.

KarloDerEchte avatar Jan 23 '24 07:01 KarloDerEchte

@KarloDerEchte, will check this with the team once and update.

pablohashescobar avatar Jan 23 '24 07:01 pablohashescobar

Thank you!

KarloDerEchte avatar Jan 23 '24 09:01 KarloDerEchte

@KarloDerEchte, will check this with the team once and update.

We're using 0.14.0 and the issue exists.

Huuuze avatar Jan 24 '24 14:01 Huuuze

I can see in the request to the server, the date I select is sent but the UI displays the incorrect date. image

When editing from the modules screen, the display is off by two and the message sent is off by one. image

This may stem from a challenge of the JS Date library.

psi-chuffine avatar Feb 27 '24 21:02 psi-chuffine

~~Seems to be fixed in 0.16~~ After a reload it was wrong again

KarloDerEchte avatar Mar 06 '24 13:03 KarloDerEchte

This issue is resolved in PR #3992

pushya22 avatar Apr 04 '24 10:04 pushya22