[Libreoffice-commits] core.git: basic/source
Eike Rathke
erack at redhat.com
Fri Nov 24 20:33:32 UTC 2017
basic/source/sbx/sbxdate.cxx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
New commits:
commit f1b5b22a5f6516e1159462c153dd7e28812e91c1
Author: Eike Rathke <erack at redhat.com>
Date: Fri Nov 24 15:56:59 2017 +0100
Get rid of that LANGUAGE_GERMAN nonsense
Change-Id: I1ca3125e893a54ac00a3d785d77ed5612fb01857
Reviewed-on: https://gerrit.libreoffice.org/45235
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/basic/source/sbx/sbxdate.cxx b/basic/source/sbx/sbxdate.cxx
index 342677d0fc0c..4a9749a28b74 100644
--- a/basic/source/sbx/sbxdate.cxx
+++ b/basic/source/sbx/sbxdate.cxx
@@ -286,20 +286,20 @@ start:
{
switch( eDate )
{
- case DateOrder::MDY: aStr = "MM.TT.JJJJ"; break;
- case DateOrder::DMY: aStr = "TT.MM.JJJJ"; break;
- case DateOrder::YMD: aStr = "JJJJ.MM.TT"; break;
- default: aStr = "MM.TT.JJJJ";
+ default:
+ case DateOrder::MDY: aStr = "MM/DD/YYYY"; break;
+ case DateOrder::DMY: aStr = "DD/MM/YYYY"; break;
+ case DateOrder::YMD: aStr = "YYYY/MM/DD"; break;
}
}
else
{
switch( eDate )
{
- case DateOrder::MDY: aStr = "MM.TT.JJJJ HH:MM:SS"; break;
- case DateOrder::DMY: aStr = "TT.MM.JJJJ HH:MM:SS"; break;
- case DateOrder::YMD: aStr = "JJJJ.MM.TT HH:MM:SS"; break;
- default: aStr = "MM.TT.JJJJ HH:MM:SS";
+ default:
+ case DateOrder::MDY: aStr = "MM/DD/YYYY HH:MM:SS"; break;
+ case DateOrder::DMY: aStr = "DD/MM/YYYY HH:MM:SS"; break;
+ case DateOrder::YMD: aStr = "YYYY/MM/DD HH:MM:SS"; break;
}
}
}
@@ -311,7 +311,7 @@ start:
nCheckPos,
nType,
nIndex,
- LANGUAGE_GERMAN,
+ LANGUAGE_ENGLISH_US,
eLangType );
pFormatter->GetOutputString( n, nIndex, *p->pOUString, &pColor );
break;
More information about the Libreoffice-commits
mailing list