diff options
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFComment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFComment.java b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFComment.java index f1ba77714a..79ffa2d701 100644 --- a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFComment.java +++ b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFComment.java @@ -17,6 +17,7 @@ package org.apache.poi.xwpf.usermodel; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; +import org.apache.poi.util.LocaleUtil; import org.apache.poi.xwpf.XWPFTestDataSamples; import org.junit.jupiter.api.Test; @@ -43,7 +44,7 @@ class TestXWPFComment { @Test public void testAddComment() throws IOException { BigInteger cId = BigInteger.valueOf(0); - Calendar date = Calendar.getInstance(); + Calendar date = LocaleUtil.getLocaleCalendar(); try (XWPFDocument docOut = new XWPFDocument()) { assertNull(docOut.getDocComments()); |