kevin-xw / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

Date no longer in human-readable format #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version 1.0.11 displayed human-readable dates such as:

“modifyDate”: "Mon, 11 Apr 2011 22: 07: 07 +0000"

Version 1.0.12 displays the MongoDate object:

“modifyDate”: new MongoDate(1302559627, 637000)

Is there an easy way to display readable dates again?

I’m running PHP 5.3.5 with php-mongo/1.1.4 on CentOS 5.

Thanks!

Original issue reported on code.google.com by lance.lo...@gmail.com on 12 Apr 2011 at 7:59

GoogleCodeExporter commented 9 years ago
v1.0.13 is available svn://ifphp.cn/rockmongo/src-1.0.x  ,we will use ISODate() 
to present datetime.

Original comment by iwind....@gmail.com on 13 Apr 2011 at 5:05

GoogleCodeExporter commented 9 years ago
Fixed in v1.1.0(beta)

Original comment by iwind....@gmail.com on 17 Apr 2011 at 1:51

GoogleCodeExporter commented 9 years ago
Version 1.1.5 displays my datetimes such as:

'datetime' => new MongoDate(1369167296, 899000),

(same issue as in the original request). Is this really fixed?

Thanks!

Original comment by jochen.w...@stailamedia.com on 21 May 2013 at 8:20