timezone offset). (Derick)
- Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()).
(Derick)
+- Fixed bug #39416 (Milliseconds in date()). (Derick)
10 Apr 2007, PHP 5.2.2RC1
#include "php_ini.h"
#include "ext/standard/info.h"
#include "ext/standard/php_versioning.h"
+#include "ext/standard/php_math.h"
#include "php_date.h"
#include "lib/timelib.h"
#include <time.h>
case 'H': length = slprintf(buffer, 32, "%02d", (int) t->h); break;
case 'i': length = slprintf(buffer, 32, "%02d", (int) t->i); break;
case 's': length = slprintf(buffer, 32, "%02d", (int) t->s); break;
+ case 'u': length = slprintf(buffer, 32, "%06d", (int) floor(t->f * 1000000)); break;
/* timezone */
case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break;