question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why are the Feature 10 and 11 not bugs ?

See original GitHub issue

I am using your Poiji framework to read excel and it gave me lots of conviences. Thanks to the developer.

When I was using this framework, I have the issue and I found this issue is the same described as Feature 10 and Feature 11 on https://github.com/ozlerhakan/poiji.

i.e.

  1. In the excel , I found the date format is 2020/9/18

image

  1. However, when the Poiji reads and put it into a String , it became the “9/18/20”

image

  1. I follow the Feature 10 to debug and found the formatString is “m/d/yy”. image

  2. So I used the Feature 11 to override the format at index 14,

        PoijiNumberFormat dateFormat = new PoijiNumberFormat();
        dateFormat.putNumberFormat((short) 14, "yyyy/MM/dd");   

It indeed works. Now the date printed in Java is 2020/09/18.

I would like to ask: Why the Poiji framework could not automatically detect the date format and apply the correct format on the “2020/9/18” ? Why did I need to maunally debug in Feature 10 and then apply the correct format in Feature 11 on the date format ? I thinkk it feels so weird.

Thank you !

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zhfktcommented, Sep 23, 2020

Thank you for confirmation.

I suggest you could mentioned “14 is the reserved number for date format” on the main page of wiki as well.

0reactions
ozlerhakancommented, Oct 2, 2020

for now we can close this task, we can re-open it once we get interactions about the content

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Fixed] DX11 feature level 10.0 is required to run the engine
This can fix some issues like the DX11 feature level 10.0 is required to run the engine error. Fix 2: Update your graphics...
Read more >
Update alert! New Windows 10 and Windows 11 fixes live
Microsoft's new updates for Windows 10 and 11 include bug fixes, quality-of-life improvements and new features. Here's how to update now.
Read more >
This key Windows 11 preview sees Microsoft fixing bugs in ...
This key Windows 11 preview sees Microsoft fixing bugs in some important features. Fixes arrive for Taskbar, Start, Windows Sandbox, and WSL.
Read more >
Windows 11 problems and fixes — everything we know so far
A recent Windows 11 update is causing Start menu problems for many users — but a design change, not a bug, is mostly...
Read more >
Microsoft fixing Direct Access bug in Windows 10 and 11 • The ...
According to Microsoft, the problem is that some of this code is inadvertently enabling performance debugging features in GPUs. These are not ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found