[fpc-devel]DateSeparator

Vincent Snijders vslist at zonnet.nl
Sun Aug 8 09:32:17 CEST 2004


On Sun, 08 Aug 2004 00:26:54 -0500
Tony Maro <tony at maro.net> wrote:

> 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 ;-)
Even if it is a const, it is a typed constant and to those constants you can assign:
ShortDateFormat := 'm/d/y';

HTH,
Vincent.




More information about the fpc-devel mailing list