#19788 [Ana->Csd]: HTML_Template_IT error with $ in values

From: Date: Sat, 30 Nov 2002 16:07:04 +0000
Subject: #19788 [Ana->Csd]: HTML_Template_IT error with $ in values
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11265@lists.php.net to get a copy of this message
ID: 19788 Updated by: pajoye@php.net -Summary: Date_Calc::weekOfYear() function problem -Reported By: fvu@wanadoo.nl +Reported By: paj@pearfr.org -Status: Analyzed +Status: Closed Bug Type: PEAR related -Operating System: +Operating System: Linux RH 7.3, gnu libiconv PHP Version: 4.2.3 -Assigned To: +Assigned To: pajoye New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Hello, Jesus added a usefull gregorianToIso function. This function is used from now in weekOfYear. Feel free to come back if you got any further problems, Thank's for the bug report regards, pierre Previous Comments: ------------------------------------------------------------------------ [2002-11-27 03:10:45] k.schroeder@php.net Please try the fix posted in http://lists.php.net/article.php?group=php.pear.dev&article=11154. Regards, Kai ------------------------------------------------------------------------ [2002-10-06 16:47:51] fvu@wanadoo.nl <? require "Date/Date.php"; echo Date_Calc::weekOfYear(5,1,1998) . ", "; echo Date_Calc::weekOfYear(6,1,1998); echo "<br>\n"; echo Date_Calc::weekOfYear(5,1,2004) . ", "; echo Date_Calc::weekOfYear(6,1,2004); ?> and then output is... 2, 2 1, 2 Why are these values different? January 1998 January 2004 Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 3 1 2 3 4 5 6 7 8 9 10 4 5 6 7 8 9 10 11 12 13 14 15 16 17 11 12 13 14 15 16 17 18 19 20 21 22 23 24 18 19 20 21 22 23 24 25 26 27 28 29 30 31 25 26 27 28 29 30 31 Freddy Vulto ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19788&edit=1

« previous php.pear.dev (#11265) next »