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

🐛 Bug: date cell copy paste related #7183

Closed
1 task done
dstala opened this issue Dec 7, 2023 · 4 comments · Fixed by #7580
Closed
1 task done

🐛 Bug: date cell copy paste related #7183

dstala opened this issue Dec 7, 2023 · 4 comments · Fixed by #7580
Assignees
Labels
🐛 Type: Bug Something is broken or incorrect unexpectedly.
Milestone

Comments

@dstala
Copy link
Member

dstala commented Dec 7, 2023

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

Copy paste doesn't work for following format date cell (date tried was 20 Dec 2023). PG was root DB

  • DD-MM-YYYY
  • DD/MM/YYYY
  • DD MM YYYY
  • YYYY MM (source cell had 2023 05; after paste, 2023 01 was displayed)

Error

index.ts:917 Error: Not a valid date
    at convertCellData (convertCellData.ts:64:17)
    at HTMLDocument.handlePaste (index.ts:855:30)

Issue is noticed with dateTime cell as well

Desired Behavior

copy paste contents appropriately

Project Details

202.9 + wkw DD YYYY PR (issue noticed in develop as well)

Attachments

No response

@gauravruhela07
Copy link

@dstala @wingkwong I want to work on this issue, can you please assign it to me? Thank you.

@wingkwong wingkwong added this to the vNext milestone Dec 8, 2023
@wingkwong
Copy link
Member

@gauravruhela07 I'm working on it. Please ask for those issues with no assignees instead.

@wingkwong wingkwong added the 🐛 Type: Bug Something is broken or incorrect unexpectedly. label Dec 8, 2023
@wingkwong
Copy link
Member

@dstala I couldn't reproduce in develop branch. Have you run pnpm run bootstrap first?

@wingkwong wingkwong modified the milestones: v0.202.10, vNext Dec 14, 2023
@dstala dstala removed this from the vNext milestone Dec 19, 2023
@dstala dstala added this to the Q1 milestone Jan 17, 2024
@harijoe
Copy link

harijoe commented Jan 24, 2024

I confirm the bug exists on 0.204.0

image

For example it happens when the date field format is set to DD-MM-YYYY (e.g. french notation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something is broken or incorrect unexpectedly.
Projects
Status: ✅ Closed
Development

Successfully merging a pull request may close this issue.

4 participants