From 0a0f0a1db2796a6d1dd003dab8f70401a2e9ec2a Mon Sep 17 00:00:00 2001 From: Yoshio HANAWA Date: Tue, 4 Jul 2017 01:36:43 +0900 Subject: [PATCH] Release v1.2.6 --- README.md | 5 +++++ php-timecop.spec | 2 +- php_timecop.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a9d2d9..9f4ce4b 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,11 @@ var_dump((new DateTime())->format("c")); // string(25) "2017-01-01T00:00:05+00:0 ## CHANGELOG +### version 1.2.6(beta), 2017/7/4 + +- Bug fixed: Calling timecop_freeze() on a fast machine sometimes fails to stop the microsecond part of current time. +- Support PHP 7.2.0+ + ### version 1.2.4(beta), 2017/6/8 - Fix [#18](https://github.com/hnw/php-timecop/issues/18) (Fix date_create_from_format when using `|` char) diff --git a/php-timecop.spec b/php-timecop.spec index 7cd858c..7a62e90 100644 --- a/php-timecop.spec +++ b/php-timecop.spec @@ -1,6 +1,6 @@ %define __ext_name timecop Name: php-%{__ext_name} -Version: 1.2.3 +Version: 1.2.6 Release: 1%{?dist} Summary: php-timecop module diff --git a/php_timecop.h b/php_timecop.h index cef742c..653e7ad 100644 --- a/php_timecop.h +++ b/php_timecop.h @@ -25,7 +25,7 @@ SOFTWARE. #ifndef PHP_TIMECOP_H #define PHP_TIMECOP_H -#define PHP_TIMECOP_VERSION "1.2.3" +#define PHP_TIMECOP_VERSION "1.2.6" extern zend_module_entry timecop_module_entry; #define phpext_timecop_ptr &timecop_module_entry