We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d247a commit eb48595Copy full SHA for eb48595
src/BSON/UTCDateTime.c
@@ -103,7 +103,7 @@ static bool php_phongo_utcdatetime_init_from_date(php_phongo_utcdatetime_t* inte
103
#if PHP_VERSION_ID >= 70200
104
usec = (int64_t) floor(datetime_obj->time->us);
105
#else
106
- usec = (int64_t) floor(datetime_obj->time->f * 1000000 + 0.5);
+ usec = (int64_t) floor(datetime_obj->time->f * 1000000 + 0.5);
107
#endif
108
109
intern->milliseconds = (sec * 1000) + (usec / 1000);
0 commit comments