aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-07-24 12:00:17 +0000
committerPJ Fanning <fanningpj@apache.org>2023-07-24 12:00:17 +0000
commit1f446e0aefd61898e741f7ed999fcaf6f0488951 (patch)
tree591721cca7adb48558e55411b69e1e0e04875540 /poi
parentcd2dcd3940becb8f48dc75934e94c96c592e3222 (diff)
downloadpoi-1f446e0aefd61898e741f7ed999fcaf6f0488951.tar.gz
poi-1f446e0aefd61898e741f7ed999fcaf6f0488951.zip
undo last change due to broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911233 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/main/java/org/apache/poi/ss/format/CellElapsedFormatter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/src/main/java/org/apache/poi/ss/format/CellElapsedFormatter.java b/poi/src/main/java/org/apache/poi/ss/format/CellElapsedFormatter.java
index 93fc537d12..43069d2eab 100644
--- a/poi/src/main/java/org/apache/poi/ss/format/CellElapsedFormatter.java
+++ b/poi/src/main/java/org/apache/poi/ss/format/CellElapsedFormatter.java
@@ -59,7 +59,7 @@ public class CellElapsedFormatter extends CellFormatter {
val = elapsed / factor;
else
val = elapsed / factor % modBy;
- if (type == '0' || type == 's')
+ if (type == '0')
return Math.round(val);
else
return (long) val;