Author Topic: Inquiry about import excel date format (pqgrid 9.x)  (Read 1044 times)

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Inquiry about import excel date format (pqgrid 9.x)
« on: August 01, 2023, 09:56:46 am »
Hello pqgrid
When I upload excel to pqgrid using pq.excelImport.getWorkbook api.
After uploaded the date data was changed.

For example, the excel data is 7/23/2023, when I upload into pqgrid, pqgrid data is expressed 7/22/2023.
It seems data changed by OS locale country date.

How can I upload the data as is ?
« Last Edit: August 01, 2023, 10:30:13 am by YONGHOO KIM »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #1 on: August 01, 2023, 11:55:54 am »
Could you share a jsfiddle.

pq.excel.importXl API imports xlsx file into a js workbook.

What's the cell value and format in the javascript wotkbook?

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #2 on: August 02, 2023, 01:18:44 pm »
Hi pqgrid

I'm testing with your sample  - https://paramquery.com/pro/demos/import-xlsx (toolbar import excel button)

I Uploaded the test result - pqgrid excel import.jpg
I hope you will find the problem. ;)
If you think it is not an error, please guide to me how can I upload "Date" excel data as is.

test condition
1. Please make OS Timezone to another region which date is not today
2. Excel column type is "Date"

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #3 on: August 03, 2023, 07:34:20 am »
Ok got to reproduce it with Samoa timezone ( UTC + 13:00 ) and a different date ( 1/10/2010 ). Looking further into it.

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #4 on: August 04, 2023, 11:18:54 am »
Dear pqgrid

You mean, did you reproduce the problem ?
So, what is the next step ? is it a bug ? or not ?

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #5 on: August 08, 2023, 04:29:10 am »
Dear pqgrid

Please give me a more information.
I can not understand your comment.

Thanks  ;)

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #6 on: August 08, 2023, 12:18:40 pm »
Dear Kim

The dates are supposed to be static similar to Excel, thanks for pointing out the issue. It would be fixed in upcoming version.


YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #7 on: August 09, 2023, 06:10:37 am »
Thank you for your support,
Could you notice on this ticket, if it is fixed?

Thanks !

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #8 on: August 09, 2023, 01:31:46 pm »
Dear PQGrid

When is the next release date ?

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #9 on: August 09, 2023, 01:41:16 pm »
Dear Kim

Tentative date for next release is 21 Aug, 2023.

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #10 on: August 10, 2023, 10:40:50 am »
Thank you for your reply !  :)

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #11 on: August 30, 2023, 12:47:25 pm »
Hi, PQGrid

I wonder your patch plan about pqgrid 9.x  with bug fix my issue !
Our user continuously complain about this issue...

Please let me know your plan :)

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #12 on: August 30, 2023, 02:00:34 pm »
This issue has been fixed, though the corrected version is not available for download yet.

Please check the fix in this example: https://paramquery.com/pro/demos/import_xlsx_tabs and let me know your findings.

Regards

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #13 on: September 06, 2023, 12:16:27 pm »

 Dear PQgrid

We confirmed here (https://paramquery.com/pro/demos/import_xlsx_tabs) that this problem has been resolved and the import can be done without issues.
We need a release of this patch version.

When will we be able to download this?

 Best regards

 

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Inquiry about import excel date format (pqgrid 9.x)
« Reply #14 on: September 07, 2023, 03:47:41 pm »
Dear Kim

Its release is anticipated on Monday

If it's urgent for you, then you can download fixed version from here:

https://paramquery.com/pro2/Content/js9.0.2/pqgrid.min.js

Regards