#34052 [Opn->Asn]: date('U') returns %ld not unix timestamp

From: Date: Mon, 05 Sep 2005 06:58:12 +0000
Subject: #34052 [Opn->Asn]: date('U') returns %ld not unix timestamp
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84535@lists.php.net to get a copy of this message
 ID:               34052
 Updated by:       sniper@php.net
 Reported By:      ash at theleys dot net
-Status:           Open
+Status:           Assigned
 Bug Type:         Date/time related
 Operating System: win32 only
 PHP Version:      5CVS-2005-09-03
-Assigned To:      
+Assigned To:      derick
 New Comment:

Derick, you got to be kidding? I know you have a windows machine to
test with at work, so TEST it..



Previous Comments:
------------------------------------------------------------------------

[2005-09-05 08:06:25] derick@php.net

Don't assign things to me which I can't test. This is a bug in the port
to Windows.

------------------------------------------------------------------------

[2005-09-04 23:42:25] sniper@php.net

s/brakes/breaks/


------------------------------------------------------------------------

[2005-09-04 23:42:05] sniper@php.net

Derick brakes, Derick fixes. :)


------------------------------------------------------------------------

[2005-09-04 22:10:04] nlopess@php.net

OK, now I see you are using PHP's sprintf implementation.
The problem is there. It only accepts  %lld if SIZEOF_LONG_LONG is
true. However, config.w32.h defines it as 0, so %lld is disabled on
windows.

------------------------------------------------------------------------

[2005-09-04 20:04:51] derick@php.net

We (should) use PHP's internal printing routines, this has nothing to
do with the platform. It works fine here.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/34052

-- 
Edit this bug report at http://bugs.php.net/?id=34052&edit=1


Thread (18 messages)

« previous php.bugs (#84535) next »