Jonas Maebe
349a682596
* corrected license header from GPL to LGPL + static linking exception like
...
the rest of the FPC RTL, after confirming with the original author that
this is ok (mantis #22879 )
git-svn-id: trunk@22413 -
2012-09-17 12:12:42 +00:00
michael
64ab9c06d3
* Added GetLocalTimeOffset function
...
git-svn-id: trunk@21865 -
2012-07-11 09:56:34 +00:00
Jonas Maebe
df9c8652be
* add default parameter values defined in implementation also to interface
...
(they don't have effect when they only appear in the implementation, and
therefore this situation will cause an error in the future)
git-svn-id: trunk@21523 -
2012-06-07 22:36:15 +00:00
marco
b59c42f2c7
* removed exporting a non standard strtotime, which was a workaround for missing
...
formatsettings/locale versions. Patch by Lacak2, Mantis #19870 (3rd)
git-svn-id: trunk@18110 -
2011-08-06 12:19:44 +00:00
marco
bf65638891
* strtodatetime adapted to new strtotime regime. Take separator from formatsettings.
...
Second patch fo Mantis #19870
git-svn-id: trunk@18100 -
2011-08-05 13:37:16 +00:00
marco
52afb619aa
* add overloaded strtotime, patch by Lacak2, Mantis #19870
...
git-svn-id: trunk@18093 -
2011-08-04 17:01:34 +00:00
marco
b3ea1668db
* improvements to sysuitls date/time formatting routines: (Mantis 14905,Sergei)
...
- Adds threadsafe (Delphi-compatible) versions of DateToStr,
TimeToStr, DateTimeToStr, FormatDateTime.
- Core functionality moved to DateTimeToString, which directly
uses 'out' parameter in order to avoid unnecessary result copying.
- Modified the code so no temporary AnsiStrings are used (speed).
- Fixes a bug which would cause infinite recursion if
(Short|Long)DateFormat variable would contain 'd' character or,
likewise, (Short|Long)TimeFormat would contain 't'.
- Fixes numerous small Delphi compatibility issues, like: empty format
string has the same effect as 'C'; overlong tokens treated as the
longest possible ones (e.g. 'ddddddddd' is the same as 'dddddd');
'AM/PM' is output preserving its case, etc.
- minor reformating
git-svn-id: trunk@14116 -
2009-11-08 15:07:00 +00:00
marco
8bc0583045
* trystrto* variants with formatsettings.
...
git-svn-id: trunk@14018 -
2009-11-03 21:20:10 +00:00
michael
dadd6631ad
* Patch from Alex Rayne (bug ID 14622) to provide some overloaded versions of the strtodate/strtotime functions
...
git-svn-id: trunk@13864 -
2009-10-16 08:16:55 +00:00
marco
c8da24f732
* comment fix #10781
...
git-svn-id: trunk@10435 -
2008-03-03 08:28:26 +00:00
mazen
7c19e36595
* Added implementation for Julian date computaton.
...
git-svn-id: trunk@9604 -
2007-12-31 16:34:45 +00:00
michael
8793de3166
* Applied patch from Sergei Gorelkin for ComposeDateTime and IncAMonth
...
git-svn-id: trunk@9600 -
2007-12-30 22:20:11 +00:00
florian
628452f04d
+ ReplaceDate
...
git-svn-id: trunk@7794 -
2007-06-24 15:15:53 +00:00
michael
bb9d6120ed
* TFormatSettings implementation, stage 1
...
git-svn-id: trunk@5876 -
2007-01-10 22:32:05 +00:00
marco
2f8f88f801
* Replacetime. Bug #7680
...
git-svn-id: trunk@5033 -
2006-10-27 18:29:00 +00:00
marco
304be38ec1
* datetotime-def functions (but not yet FormatSettings) + ansidequotedstr (turned
...
out to be extractquotestr wrapper).
git-svn-id: trunk@5032 -
2006-10-27 18:20:02 +00:00
Jonas Maebe
327718e0c4
* changed some var parameters in out parameters to avoid warnings
...
git-svn-id: trunk@4341 -
2006-08-03 16:47:10 +00:00
joost
391dc9a9fb
+ Implemented ComposeDateTime for general use
...
git-svn-id: trunk@4007 -
2006-06-29 22:18:18 +00:00
florian
34176d3d9a
* fixed bootstrapping with 2.0.x
...
git-svn-id: trunk@3473 -
2006-05-11 07:36:45 +00:00
florian
0bbbfd23e5
* wince has to reuse also TSystemTime from the Windows unit inside the sysutils unit
...
git-svn-id: trunk@3472 -
2006-05-10 20:21:56 +00:00
florian
89f8474388
* unified and moved some win32/win64 stuff
...
+ more units on win64 compile
git-svn-id: trunk@3131 -
2006-04-02 20:52:17 +00:00
marco
dd063d920d
* currentyear (bug 4904)
...
git-svn-id: trunk@3031 -
2006-03-25 15:07:54 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254
+ Removed VER1_0 defines
...
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
207e67cc4d
+ cycling with 1.0.x fixed, hopefully the last fix of this for ever ;)
2005-05-08 08:03:15 +00:00
florian
bf179526ff
+ TryStrToDate/Time functions
2005-05-07 10:23:17 +00:00
marco
2efe42a051
* fixed incmonths default param. Thnks nldelphi
2005-03-17 15:21:10 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
michael
07583c11a7
TwoDigitYearCenturyWindow is 50
2003-11-26 20:15:46 +00:00
peter
3d27318cb2
* moved classes unit to rtl
2003-10-06 21:01:06 +00:00