php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #52454
Patch 52454_date_get_timestamp.patch revision 2010-08-20 10:03 UTC by mike at iammike dot co dot uk

Patch 52454_date_get_timestamp.patch for Date/time related Bug #52454

Patch version 2010-08-20 10:03 UTC

Return to Bug #52454 | Download this patch
Patch Revisions:

Developer: mike@iammike.co.uk

*** php-trunk-201008200830/ext/date/php_date.c	2010-06-08 23:30:33.000000000 +0100
--- php-trunk-201008200830-patched/ext/date/php_date.c	2010-08-20 11:01:33.610359708 +0100
***************
*** 3095,3101 ****
  	}
  	dateobj = (php_date_obj *) zend_object_store_get_object(object TSRMLS_CC);
  	DATE_CHECK_INITIALIZED(dateobj->time, DateTime);
- 	timelib_update_ts(dateobj->time, NULL);
  
  	timestamp = timelib_date_to_int(dateobj->time, &error);
  	if (error) {
--- 3095,3100 ----
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 10:01:32 2024 UTC