Here is a simple method :
procedure TForm1.Button1Click(Sender: TObject);
var s : UTF8String;
begin
DateTimeToString(s, 'dddd d mmm', Date);
showMessage(s);
end;
The showMessage gives me an empty string (lastest SVN for lazarus /
fpc 2.2.0 / win32).
However, it works well with a console app. It seems there is a problem
when using a showmessage or a TLabel.
Can somebody reproduce it ?
Ps : I followed
this:http://www.freepascal.org/docs-html/rtl/sysutils/datetimetostring.html
--
Damien Gerard
[EMAIL PROTECTED]
People who used magic without knowing what they were doing usually
came to a sticky end. All over the entire room, sometimes.
-- (Terry Pratchett, Moving Pictures)
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives