You've already forked lazarus-ccr
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:
@ -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,
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user