|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-29 11:14 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 05:00:01 2025 UTC |
Description: ------------ the function strftime() outputs the wrong year when the timestamp is from january 1st 2006. Reproduce code: --------------- setlocal("LC_TIME","da_DK"); $dstr = strftime("%A den %e. %B %G",mktime(20,0,0,1,1,2006)); echo $dstr; Expected result: ---------------- s?ndag den 1. januar 2006 Actual result: -------------- s?ndag den 1. januar 2005