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

Copy unformatted cell for dates should copy full date string #920

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Nov 30, 2022

- Instead of copying the numeric value in nanoseconds of the date, copy it as a full date string
- Tested with a date column, changing time zones, and copying values. The date was correct and time zone was included correctly. Also tested non-date columns still copied as intended.
- Fixes deephaven#919
@mofojed mofojed added the bug Something isn't working label Nov 30, 2022
@mofojed mofojed added this to the November 2022 milestone Nov 30, 2022
@mofojed mofojed requested a review from dsmmcken November 30, 2022 20:39
@mofojed mofojed self-assigned this Nov 30, 2022
@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Merging #920 (bdc677e) into main (f6fe2b8) will decrease coverage by 0.00%.
The diff coverage is 16.66%.

❗ Current head bdc677e differs from pull request most recent head c40f468. Consider uploading reports for the commit c40f468 to get more accurate results

@@            Coverage Diff             @@
##             main     #920      +/-   ##
==========================================
- Coverage   37.72%   37.71%   -0.01%     
==========================================
  Files         410      410              
  Lines       31104    31109       +5     
  Branches     7752     7753       +1     
==========================================
+ Hits        11733    11734       +1     
- Misses      19316    19320       +4     
  Partials       55       55              
Flag Coverage Δ
unit 37.71% <16.66%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/iris-grid/src/IrisGrid.tsx 28.11% <16.66%> (-0.03%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

packages/iris-grid/src/IrisGrid.tsx Outdated Show resolved Hide resolved
@mofojed mofojed requested a review from dsmmcken December 2, 2022 18:27
@mofojed mofojed merged commit 3a93308 into deephaven:main Dec 2, 2022
@mofojed mofojed deleted the 919-copy-date branch December 2, 2022 19:40
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Copy Cell Unformatted" on a datetime column should provide a complete datetime
2 participants