Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-01

Re: scandatetime testing needed

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Marco van de Voort: Today I tried to make one of the routines I had lying around RTL inclusion ready. The…
Marco van de Voort wrote 13 lines
Today I tried to make one of the routines I had lying around RTL inclusion ready. The routine tries to be the inverse of formatdatetime, and is destined for dateutils. Currently (at 03:47 am) it is more or less working, though some testing and general remarks would be nice. The current situation (FPC and D7 compilable) is at http://www.stack.nl/~marcov/scandatetest.dpr Some -S2h-ifying probably needs to be done also before inclusion.

Many of the constants you use are also in sysutils/dateutils. Other than that it looks good. It'll come in handy for all the database drivers. They more or less do all the parsing/scanning themselves now...

Michael.

Reply by email

Marco van de Voort

Today I tried to make one of the routines I had lying around RTL inclusion ready. The routine tries to be the inverse of formatdatetime, and is destined for dateutils.

Currently (at 03:47 am) it is more or less working, though some testing and general remarks would be nice.

The current situation (FPC and D7 compilable) is at

http://www.stack.nl/~marcov/scandatetest.dpr

Some -S2h-ifying probably needs to be done also before inclusion.

Reply by email