a38f25f7cd
Upgraded IDNA to IDNA2 Added PEAR Date > fixed: The each function is deprecated
14 lines
204 B
PHP
14 lines
204 B
PHP
--TEST--
|
|
Bug #13545 Date_Span::set() doesn't work when passed an int and format
|
|
--FILE--
|
|
<?php
|
|
|
|
require_once 'Date.php';
|
|
|
|
$span = new Date_Span(1, '%D');
|
|
echo $span->format('%D-%S');
|
|
|
|
?>
|
|
--EXPECT--
|
|
1-00
|