* @uses HOURSECS
* @param int $date timestamp in GMT
* @param string $format strftime format
* @param float $timezone
* @param boolean $fixday If true (default) then the leading
* zero from %d is removed. If false then the leading zero is mantained.
* @return string
*/
function userdate($date, $format='', $timezone=99, $fixday = true) {
Why do things like this? If users don't like the leading zero, they can change the 'strf*' string to "%e" instead of "%d", though "%e" has a leading space. But in the recent code, if I would like to see the leading zero, I must modify the source code.
Is there any other solution to solve this problem? Thank you!