You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "aschott-looker (via GitHub)" <gi...@apache.org> on 2023/07/21 19:25:27 UTC

[GitHub] [poi] aschott-looker opened a new pull request, #487: Round up seconds in CellElapsedFormatter

aschott-looker opened a new pull request, #487:
URL: https://github.com/apache/poi/pull/487

   Seconds should round up in the elapsed formatter. If you have a value like `0.0001` and format it with `[h]\h m\m s\s`, you get "0h 0m 8s" whereas Excel outputs "0h 0m 9s".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[GitHub] [poi] aschott-looker commented on pull request #487: Round up seconds in CellElapsedFormatter

Posted by "aschott-looker (via GitHub)" <gi...@apache.org>.
aschott-looker commented on PR #487:
URL: https://github.com/apache/poi/pull/487#issuecomment-1648507225

   @pjfanning - Sorry about that! There is something odd with that file. If you download it, make a trivial change (e.g. add some text somewhere), save it and run the test it fails.
   
   I've opened https://github.com/apache/poi/pull/489 instead which has the same code change but just adding a unit test elsewhere to verify the behavior.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[GitHub] [poi] pjfanning commented on pull request #487: Round up seconds in CellElapsedFormatter

Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #487:
URL: https://github.com/apache/poi/pull/487#issuecomment-1647774933

   I reverted this after it broke one of the existing tests associated with the xlsx file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[GitHub] [poi] asfgit closed pull request #487: Round up seconds in CellElapsedFormatter

Posted by "asfgit (via GitHub)" <gi...@apache.org>.
asfgit closed pull request #487: Round up seconds in CellElapsedFormatter
URL: https://github.com/apache/poi/pull/487


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org