On Thu, 1 Mar 2007, Graeme Geldenhuys wrote:
Hi,
On 2/28/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
You should not have to worry about it. You use TDateTime, and convert to
string as needed as the user sees fit.
I don't agree with Graeme's solution: it's not up to the
On 3/1/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
opted for it after a length discussion. Storing the date/time as a
string in the ISO 8601 format is forced and allows you to export data
to another application without having to try and guess the date format
in the new application
On Thu, 1 Mar 2007, Graeme Geldenhuys wrote:
On 3/1/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
opted for it after a length discussion. Storing the date/time as a
string in the ISO 8601 format is forced and allows you to export data
to another application without having to try
On 3/1/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
When doing a query, i.e. in a SQL statement, you must indeed use
MM/DD/. If you use parametrized queries, you must use the
internal representation.
That's the one! We had some very huge and complex stored procedures
(couple hundred
That wasn't our experience with MS SQL Server 2000 which uses the US
date/time format even though the server was installed in the UK with
UK regional settings. We had similar issues (can't remember exactly
what) with Firebird. Hence the reason we now store it as strings.
Ok, so there's a bug
On 3/1/07, Joost van der Sluis [EMAIL PROTECTED] wrote:
MS SQL stores date/time fields in a TDateTime format. (That's why it's
such a strange format.) Firebird uses something similar. The client-
library has to convert that. If that conversion goes wrong, that's
simply a a bug. But
I agree that when you can you should use TDateTime but there are cases
where string presentation for storage is needed. Lets say we make a
export / import function in a CSV file.
There needs to be a contract on how to store dates (and numbers for that
sake) that is the same.
Displaying to me is
This was my implementation of that routine
procedure TranslateUnitResourceStrings(const ResUnitName, BaseFilename,
Lang, FallbackLang: string);
begin
if (ResUnitName='') or (BaseFilename='') then exit;
//debugln('TranslateUnitResourceStrings
BaseFilename=',BaseFilename,'');
if
Well he makes a point on the redability of reports using the ISO date
format. I think its all just depending on what you make. If you have a
multy coparate miljoin dollar cross global sales system you would want
to go for the ISO standard for dates but in most other cases you would
just use
Wel I gess we all agree on the point that datetime format settings is
something where theres a variaty of opinions on how to use it. IT just
points out to me that the mater is not simple.
If I would ask how to declare a component we would all be saying
TMyComponent = class(Tcomponent)
end;
On 3/1/07, Pieter Valentijn [EMAIL PROTECTED] wrote:
I agree that when you can you should use TDateTime but there are cases
where string presentation for storage is needed. Lets say we make a
export / import function in a CSV file.
There needs to be a contract on how to store dates (and numbers
Sorry the subject was wron not unit interfaces, but graphics was ment.
Am Donnerstag, den 01.03.2007, 08:50 +0100 schrieb tanila:
Hello,
I use Lazarus SVN Rev. 10700
If I compile any projekt I got following compiler message:
project1.lpr(1,1) Fatal: Can't find unit Graphics
I am shure
On 3/1/07, Pieter Valentijn [EMAIL PROTECTED] wrote:
Well he makes a point on the redability of reports using the ISO date
format. I think its all just depending on what you make. If you have a
multy coparate miljoin dollar cross global sales system you would want
to go for the ISO standard for
On 3/1/07, Pieter Valentijn [EMAIL PROTECTED] wrote:
Wel I gess we all agree on the point that datetime format settings is
something where theres a variaty of opinions on how to use it. IT just
points out to me that the mater is not simple.
Now if you thought date formatting was complicated,
can someone tell me how to setup the fpc.cfg to compile lazarus ?
Make can not find many many includes and unit since the new fpc
directory layout.
What do i have to change ? I am getting crasy here...
regards
tanila
_
To
tanila schreef:
can someone tell me how to setup the fpc.cfg to compile lazarus ?
Make can not find many many includes and unit since the new fpc
directory layout.
What do i have to change ? I am getting crasy here...
fpc.cfg can remain unchanged.
Just make sure, you installed the fpc
Am Donnerstag, den 01.03.2007, 14:16 +0100 schrieb Vincent Snijders:
tanila schreef:
can someone tell me how to setup the fpc.cfg to compile lazarus ?
Make can not find many many includes and unit since the new fpc
directory layout.
What do i have to change ? I am getting crasy
Hi,
Is it possible to use resource strings in constants and be able to
translate them with 'gettext' unit at runtime?
cGenderGUI: array[TGender] of string =
( rsGenderMale, rsGenderFemale );
cGenderDB: array[TGender] of string =
( 'M', 'F' );
Whenever I reference the
On Thu, 2007-03-01 at 12:04 +0200, Graeme Geldenhuys wrote:
On 3/1/07, Joost van der Sluis [EMAIL PROTECTED] wrote:
MS SQL stores date/time fields in a TDateTime format. (That's why it's
such a strange format.) Firebird uses something similar. The client-
library has to convert that. If
On Thu, 1 Mar 2007, Graeme Geldenhuys wrote:
Hi,
Is it possible to use resource strings in constants and be able to
translate them with 'gettext' unit at runtime?
No. Even in Delphi, this does not work :/
Michael.
_
To
tanila schreef:
Am Donnerstag, den 01.03.2007, 14:16 +0100 schrieb Vincent Snijders:
tanila schreef:
can someone tell me how to setup the fpc.cfg to compile lazarus ?
Make can not find many many includes and unit since the new fpc
directory layout.
What do i have to change ? I am getting
tanila wrote:
Am Donnerstag, den 01.03.2007, 14:16 +0100 schrieb Vincent Snijders:
tanila schreef:
can someone tell me how to setup the fpc.cfg to compile lazarus ?
Make can not find many many includes and unit since the new fpc
directory layout.
What do i have to change ? I am getting
Am Donnerstag, den 01.03.2007, 17:20 +0100 schrieb Vincent Snijders:
tanila schreef:
Am Donnerstag, den 01.03.2007, 14:16 +0100 schrieb Vincent Snijders:
tanila schreef:
can someone tell me how to setup the fpc.cfg to compile lazarus ?
Make can not find many many includes and unit
Am Freitag, den 02.03.2007, 00:20 +0800 schrieb Funky Beast:
tanila wrote:
Am Donnerstag, den 01.03.2007, 14:16 +0100 schrieb Vincent Snijders:
tanila schreef:
can someone tell me how to setup the fpc.cfg to compile lazarus ?
Make can not find many many includes and unit since the
When I mix old versions with new versions, the compiler and/or lazarus
get confused about what files to compile. This is due to symlinks
pointing to the wrong file. My fault, not compiler fault.
Can you uninstall everything (including symlinks) and reinstall everything ?
Excuse my english.
I did got it to work but I now have trouble getting the data. I think it
becouse you need to be loged in to go to the edit page.
index.php?title=Spezial:Exportaction=submitpages='+lbFoundPages.Items[
i]+'curonly=true
This was you old line. If I follow the osF wiki I get a you are not
loged in
Christian Ulrich schreef:
I did got it to work but I now have trouble getting the data. I think it
becouse you need to be loged in to go to the edit page.
index.php?title=Spezial:Exportaction=submitpages='+lbFoundPages.Items[
i]+'curonly=true
This was you old line. If I follow the osF wiki I
Did you logout before doing the test? Maybe the wiki somehow remembers you
when you run wikihelp.
I have no coocie support enabled in synapse, can the wiki remember me
without coocies ?
OK, i have tried now with an complete clean computer where i never have
logged in into lazarus wiki and
28 matches
Mail list logo