Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Colin Viebrock
a367c39c2e
date('W') now returns week of year (ISO 8601)
2001-06-20 18:07:53 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Derick Rethans
b8ad2e842d
- 'Fix' for bug #10145
2001-04-29 15:48:07 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sascha Schumann
b37b5f93aa
Don't assume that tzname exists, if tm_zone does not exist.
...
PR: #9380
2001-02-24 21:18:28 +00:00
Rasmus Lerdorf
4877d13ffa
What the heck is CUT? Assume someone meant UTC here. And fix a
...
warning.
2001-02-09 15:28:23 +00:00
Andrei Zmievski
4ea7ba79c5
@- Fixed 'O' and 'r' flags of date() to have correct sign for timezone
...
@ offset. (Andrei)
2001-01-18 14:36:43 +00:00
Andrei Zmievski
ccd94c4831
@- Changed 'Z' flag to date() to always return timezone offset with
...
@ negative sign if it's west of UTC. (Andrei)
2001-01-17 21:09:16 +00:00
David Croft
00db616ac4
reserve space for quoted characters
...
fixes buffer overrun bug #8694
2001-01-14 05:37:33 +00:00
David Croft
2b3d9d7ec4
fixed swatch internet time (bugs#8242,7106)
2001-01-10 06:48:06 +00:00
David Croft
0afe88cbc6
Allocate buffer in date() for the actual length of the timezone (bug#8292)
2001-01-10 04:01:02 +00:00
Daniel Beulshausen
be5cfa608a
fixed date not allocating enough buffer, bug 7963
2001-01-05 17:34:47 +00:00
Rasmus Lerdorf
a35b9c45f5
Fix date('r') overflow
...
@Fix date('r') overflow
2001-01-02 20:26:51 +00:00
Sascha Schumann
4078b3cff9
Namespace protect parse_date interface and implementation
2000-12-08 00:12:35 +00:00
Chuck Hagenbuch
b69dd89d34
RFC822 does specify two digit years, but practically every decent mail
...
client I could check is using 4-digit years these days.
2000-11-11 17:28:20 +00:00
Colin Viebrock
2a5f8a8906
some changes, and added 'r' flag which generates an RFC822 compatible date string.
2000-11-09 21:30:03 +00:00
foobar
436ca5d9bb
@- Fixed a bug in checkdate() which caused < 1 years to be valid (Jani)
...
# Bug #6254
2000-09-03 04:09:48 +00:00
foobar
a666910848
Fixed bug #6409 .
...
# And propably numerous other..? Either I am wrong or the documentation is.
2000-09-03 03:50:59 +00:00
Sascha Schumann
8e0ae5d152
Cleaning up some mess
2000-08-21 09:50:53 +00:00
Hartmut Holzgraefe
f194a3a25d
protect datetime() against all zero inputs ...
2000-08-01 11:16:20 +00:00
Rasmus Lerdorf
1d0ae2cde4
Use dashes and short day name in cookies since some browsers seem picky
...
about this
@ Use dashes and short day name in cookies since some browsers seem picky
@ about this (Rasmus)
2000-07-14 01:08:59 +00:00
Mike Waychison
4604031b84
(PHP date) Added new 'O' format modifier for printing out the GMT Offset in
...
the same manner as emails have in their Date: header. The format
is similar to [+-]HHMM of offset.
@- Added new 'O' format modifier that will output the GMT offset as "[+-]HHMM"
@ (eg: Pacific time is -0700). This is useful for things such as Date: mail
@ headers.
# Um, this should have existed LONG time ago... much better than that gmt
# offset in seconds modifier :)
2000-07-04 16:16:32 +00:00
Egon Schmid
2deed22e5c
Now its a todo.
2000-06-25 17:55:13 +00:00
Andrei Zmievski
e48192fbb5
Use hardcoded 3600 seconds offset instead of altzone which may not be present
...
on all systems.
2000-06-15 22:23:08 +00:00
Andrei Zmievski
59b455cf2f
@- Updated strtotime() to handle many more formats. It now has complete
...
@ feature parity with GNU date command. (Andrei)
2000-06-15 16:24:10 +00:00
Hartmut Holzgraefe
9ded807a20
return FALSE from strftime on negative timestamp values
...
they do not make sense anyway and seem to crash win2k
2000-06-14 22:11:10 +00:00
Rasmus Lerdorf
f38e760c39
Refine checkdate() fix to accept numeric strings and floating point as well
2000-06-14 20:31:31 +00:00
Rasmus Lerdorf
0b5ca3f7d5
Require the year arg to checkdate to be an integer - fix for bug #5034
...
@Require the year arg to checkdate to be an integer (Rasmus)
2000-06-14 16:35:48 +00:00
Andrei Zmievski
3570258050
@- Fixed 'Z' flag in date() to adjust for daylight savings time. (Andrei)
2000-06-09 20:18:36 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Hartmut Holzgraefe
fb39eda0d8
a second (cleaner?) try on warnings about unsupported functions
2000-05-27 19:27:20 +00:00
Andi Gutmans
afccb58612
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
...
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
2000-05-27 18:55:11 +00:00
Hartmut Holzgraefe
69d1e788c0
if a module provides a function it should also do so if the function
...
is not functional due to configure findings
the function should offer a meaningful warning if it is not supported
instead of just beeing undefined
i had already changed this in 'gd', now this is doing it for 'standard'
2000-05-26 17:04:02 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
d0f3764ee2
Change reentrancy API to always use the php prefix.
...
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Egon Schmid
1a8dfac59d
Sterling, only one line for the short descritption, even it is massiv.
2000-03-28 20:47:47 +00:00
Sterling Hughes
74d30dff7b
*** empty log message ***
2000-03-28 20:26:02 +00:00
Sterling Hughes
f76e0a4077
*** empty log message ***
2000-03-28 18:16:41 +00:00
Sterling Hughes
0340340673
Slight change for time on the return side.
...
@-Added 'I' switch to test whether or not DST is active.
2000-03-27 18:11:33 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Zeev Suraski
99d572ad14
Make 4-diogit date RFC 2068 compliant
2000-02-25 16:45:52 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Sascha Schumann
f8e1457be0
(PHP mktime) Added windowing support for 0..70
...
@- mktime interprets years in the range 0-70 now as 2000-2070. You can
@ continue to specify the complete year (i.e. 1920) (Sascha)
2000-01-31 17:22:17 +00:00
Sascha Schumann
890c1de998
Remove second (equal) definition of isleap()
2000-01-01 20:50:37 +00:00
Sascha Schumann
2fd8cbff2a
Declare timezone only, if the system fails to do so.
2000-01-01 02:22:01 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Evan Klinger
eb54c032c8
Ex API
1999-12-20 01:23:15 +00:00
Zeev Suraski
3ee4e65c95
More php3_ annihilation
1999-12-18 04:01:20 +00:00