From 9b423c924ba73aab8b885304822fd92b00ee562d Mon Sep 17 00:00:00 2001
From: Bogdan Buzea <buzea.bogdan@libreoffice.org>
Date: Mon, 25 Nov 2024 20:05:43 +0100
Subject: tdf#131332: Replace custom date formats with ISO 8601

Change-Id: I79b7a4953c49590afd96cc13efad8598285b03a3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/177296
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
---
 source/text/sbasic/shared/01020100.xhp | 2 +-
 source/text/sbasic/shared/03030101.xhp | 2 +-
 source/text/sbasic/shared/03030108.xhp | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/text/sbasic/shared/01020100.xhp b/source/text/sbasic/shared/01020100.xhp
index 6b01d6ef3a..fc224f843d 100644
--- a/source/text/sbasic/shared/01020100.xhp
+++ b/source/text/sbasic/shared/01020100.xhp
@@ -201,7 +201,7 @@
 </list>
 </section>
 <bascode>
-  <paragraph role="bascode" id="bas_id201616314705492" localize="false">start_date = #12/30/1899# ' = 1</paragraph>
+  <paragraph role="bascode" id="bas_id201616314705492" localize="false">start_date = #1899-12-30# ' = 0</paragraph>
   <paragraph role="bascode" id="bas_id616163714705267" localize="false">dob = #2010-09-28#</paragraph>
 </bascode>
 
diff --git a/source/text/sbasic/shared/03030101.xhp b/source/text/sbasic/shared/03030101.xhp
index 5448dda636..0d5af98e14 100644
--- a/source/text/sbasic/shared/03030101.xhp
+++ b/source/text/sbasic/shared/03030101.xhp
@@ -62,7 +62,7 @@
   <paragraph role="bascode" id="par_id3155415" localize="false">    lDate = DateSerial(1964, 4, 9)</paragraph>
   <paragraph role="bascode" id="par_id3147125" localize="false">    sDate = DateSerial(1964, 4, 9)</paragraph>
   <paragraph role="bascode" id="par_id3154942">    MsgBox lDate ' returns 23476</paragraph>
-  <paragraph role="bascode" id="par_id3151074">    MsgBox sDate ' returns 04/09/1964</paragraph>
+  <paragraph role="bascode" id="par_id3151074">    MsgBox sDate ' returns 1964-04-09 in ISO 8601 format</paragraph>
   <paragraph role="bascode" id="par_id3153878" localize="false">End Sub</paragraph>
 </bascode>
 </body>
diff --git a/source/text/sbasic/shared/03030108.xhp b/source/text/sbasic/shared/03030108.xhp
index 64d87699aa..9f9c781a9f 100644
--- a/source/text/sbasic/shared/03030108.xhp
+++ b/source/text/sbasic/shared/03030108.xhp
@@ -55,6 +55,6 @@
     <paragraph role="bascode" localize="false" id="par_id3147318" xml-lang="en-US">dateval = CDateFromIso("20021231")</paragraph>
     <paragraph role="bascode" localize="false" id="par_id3147319" xml-lang="en-US">dateval = CDateFromIso("2002-12-31")</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US">return both 12/31/2002 in the date format of your system</paragraph>
+<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US">return both 2002-12-31 in the date format of your system</paragraph>
 </body>
 </helpdocument>
-- 
cgit