fpspreadsheet: try to fix date/time handling on Linux/Unix by adding clocale. Needs to be tested.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3361 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
bigchimp
2014-07-23 08:15:28 +00:00
parent 667e36f420
commit 243d3b0c7d
2 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,10 @@ units (e.g. datetests).
} }
uses uses
{$IFDEF Unix}
//required for formatsettings
clocale,
{$ENDIF}
// Not using Lazarus package as the user may be working with multiple versions // Not using Lazarus package as the user may be working with multiple versions
// Instead, add .. to unit search path // Instead, add .. to unit search path
Classes, SysUtils, fpcunit, testutils, testregistry, Classes, SysUtils, fpcunit, testutils, testregistry,

View File

@ -3,6 +3,9 @@ unit rpnFormulaUnit;
interface interface
uses uses
{$IFDEF Unix}
clocale, //required for formatsettings
{$ENDIF}
SysUtils, fpspreadsheet,fpsutils; SysUtils, fpspreadsheet,fpsutils;
procedure WriteRPNFormulaSamples(Worksheet: TsWorksheet; procedure WriteRPNFormulaSamples(Worksheet: TsWorksheet;