From 518443c9c7bbc676c9852d8069921fe464860afd Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 1 Jun 2018 16:55:52 +0000 Subject: [PATCH] Describe previous behavior in UTCDateTime constructor changelog https://jira.mongodb.org/browse/PHPC-536 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345084 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongodb/bson/utcdatetime/construct.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference/mongodb/bson/utcdatetime/construct.xml b/reference/mongodb/bson/utcdatetime/construct.xml index 80fe7b2a73..7f9a183337 100644 --- a/reference/mongodb/bson/utcdatetime/construct.xml +++ b/reference/mongodb/bson/utcdatetime/construct.xml @@ -71,7 +71,9 @@ The milliseconds argument is optional and defaults to &null; (i.e. current time). The argument also accepts a DateTimeInterface, which may be used to derive - the number of milliseconds since the Unix epoch. + the number of milliseconds since the Unix epoch. Previously, only + integer, float, and string types + were accepted.