File tree Expand file tree Collapse file tree 5 files changed +6
-13
lines changed
Expand file tree Collapse file tree 5 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 2121 - name : Build and Run Tests
2222 run : mvn --settings .ci/github-actions-settings.xml verify
2323 env :
24+ JAVA_TOOL_OPTIONS : " -Duser.timezone=Europe/Paris"
2425 SERVICE_NEXUS_URL : ${{ secrets.SERVICE_NEXUS_URL }}
2526 CI_USR : ${{ secrets.CI_USR }}
2627 CI_PSW : ${{ secrets.CI_PSW }}
Original file line number Diff line number Diff line change @@ -298,14 +298,6 @@ public static void initDefaultExtractors(boolean allowsExternalToolsForTextExtra
298298 * errors, it could lead to silent data loss or misinterpretation if the encoded data is critical.
299299 */
300300 System .setProperty ("mail.mime.base64.ignoreerrors" , "true" );
301-
302- /*
303- * Set the default time zone of the application to UTC.
304- * This ensures that MIME message generation will use normalized
305- * UTC dates everywhere. This is important for consistency across
306- * different systems and timezones.
307- */
308- TimeZone .setDefault (TimeZone .getTimeZone ("UTC" ));
309301 }
310302
311303 private static void preventExternalToolsForTextExtractionInTika () {
Original file line number Diff line number Diff line change 1- Date: Mon, 19 Aug 2019 21 :18:50 +0000 (UTC )
1+ Date: Mon, 19 Aug 2019 23 :18:50 +0200 (CEST )
22From: "Test" <test@programmevitam.fr>
33To: <test-a@programmevitam.fr>
44Message-ID: <003e01d556d3$b3116ed0$19344c70$@programmevitam.fr>
Original file line number Diff line number Diff line change 1- Date: Mon, 19 Aug 2019 21 :30:50 +0000 (UTC )
1+ Date: Mon, 19 Aug 2019 23 :30:50 +0200 (CEST )
22From: "Test" <test@programmevitam.fr>
33To: <test-a@programmevitam.fr>,<test-b@programmevitam.fr>
44Message-ID: <000c01d556d5$611cfc50$2356f4f0$@programmevitam.fr>
@@ -72,7 +72,7 @@ div.WordSection1
7272Content-Type: message/rfc822; name="Test message 1.eml"
7373Content-Disposition: attachment; filename="Test message 1.eml"
7474
75- Date: Mon, 19 Aug 2019 21 :18:50 +0000 (UTC )
75+ Date: Mon, 19 Aug 2019 23 :18:50 +0200 (CEST )
7676From: "Test" <test@programmevitam.fr>
7777To: <test-a@programmevitam.fr>
7878Message-ID: <003e01d556d3$b3116ed0$19344c70$@programmevitam.fr>
Original file line number Diff line number Diff line change 1- Date: Mon, 19 Aug 2019 21 :30:50 +0000 (UTC )
1+ Date: Mon, 19 Aug 2019 23 :30:50 +0200 (CEST )
22From: "Test" <test@programmevitam.fr>
33To: <test-a@programmevitam.fr>,<test-b@programmevitam.fr>
44Message-ID: <000c01d556d5$611cfc50$2356f4f0$@programmevitam.fr>
@@ -71,7 +71,7 @@ div.WordSection1
7171Content-Type: message/rfc822; name="Test message 1.eml"
7272Content-Disposition: attachment; filename="Test message 1.eml"
7373
74- Date: Mon, 19 Aug 2019 21 :18:50 +0000 (UTC )
74+ Date: Mon, 19 Aug 2019 23 :18:50 +0200 (CEST )
7575From: "Test" <test@programmevitam.fr>
7676To: <test-a@programmevitam.fr>
7777Message-ID: <003e01d556d3$b3116ed0$19344c70$@programmevitam.fr>
You can’t perform that action at this time.
0 commit comments