Re: [fpc-devel]DateSeparator
Marco van de Voort wrote: The DateSeparator is defined in sysinth.inc as Const { Character to be put between date, month and year } DateSeparator: char = '-'; As said on IRC, I suspect this is a 1.0.10 issue. (1.9.x bootstrapping with 1.0.x I mean), since IIRC 1.0.x doesn't support Right, but I'm suggesting it go ahead and be changed in 1.9.x... would this cause other problems? { Format used for short date notation } ShortDateFormat: string = 'd/m/y'; Strange. That's not european at all? d-m-y or dd.mm.yy True, but with the const dateseparator, it results in d-m-y of course ;-) -Tony ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel]DateSeparator
> The DateSeparator is defined in sysinth.inc as > > Const > >{ Character to be put between date, month and year } >DateSeparator: char = '-'; As said on IRC, I suspect this is a 1.0.10 issue. (1.9.x bootstrapping with 1.0.x I mean), since IIRC 1.0.x doesn't support var x : tx = vx; syntax; >{ Format used for short date notation } >ShortDateFormat: string = 'd/m/y'; Strange. That's not european at all? d-m-y or dd.mm.yy ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel]DateSeparator
The DateSeparator is defined in sysinth.inc as Const { Character to be put between date, month and year } DateSeparator: char = '-'; { Format used for short date notation } ShortDateFormat: string = 'd/m/y'; { Format used for long date notation } LongDateFormat: string = 'dd" "" "'; Which means if I try to display something in the "standard" American format of mm/dd/yyy using: FormatDate('mm/dd/',mydate) I end up with "mm-dd-". The / gets replaced with the DateSeparator constant. Since it's an FPC constant, I can't easily change this. Basically, this makes every date format function useless for me. I see a note above it that says use InitInternational to set this, but that procedure seems to do nothing of the sort. Can we not change all the defines in sysinth.inc to VAR instead of CONST so they could be manipulated by the programmer? -Tony Maro ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel]daily snapshot check: make process broken
D:\Lazarus>make make -C lcl all make[1]: Entering directory `D:/Lazarus/lcl' d:/fpc/bin/win32/rm.exe -f units/i386/win32/alllclunits.ppu d:/fpc/bin/win32/ppc386.exe -gl -Fu. -Fuwidgetset -Fiinclude -FUunits/i386/win32 -di386 alllclunits.pp Hint: End of reading config file d:\fpc\bin\win32\fpc.cfg Free Pascal Compiler version 1.9.5 [2004/08/07] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Target OS: Win32 for i386 Compiling alllclunits.pp Compiling filectrl.pp Compiling stdctrls.pp Compiling graphics.pp contnrs.pp(51,1) Fatal: Can't find unit CONTNRS make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `D:/Lazarus/lcl' make: *** [lcl] Error 2 D:\Lazarus> ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel