Annotation of embedaddon/php/ext/date/tests/bug34304.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #34304 (date('w') returns wrong number for sunday, 'N' modifier is missing)
        !             3: --FILE--
        !             4: <?php
        !             5: date_default_timezone_set("UTC");
        !             6: echo date('o\-\WW\-N', strtotime('2 January 2005')), "\n";
        !             7: echo date('o\-\WW\-N', strtotime('9 January 2005')), "\n";
        !             8: ?>
        !             9: --EXPECT--
        !            10: 2004-W53-7
        !            11: 2005-W01-7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>