Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23783
Modified Files:
serendipity_functions.inc.php
Log Message:
Make sure we get the year correct also
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.369
retrieving revision 1.370
diff -u -d -r1.369 -r1.370
--- serendipity_functions.inc.php 26 Jul 2004 17:38:55 -0000 1.369
+++ serendipity_functions.inc.php 26 Jul 2004 17:45:37 -0000 1.370
@@ -458,7 +458,7 @@
</td>
<td colspan="5" align="center" valign="bottom" class="serendipity_calendarHeader">
- <b><?php echo ($serendipity['XHTML11'] ? '<span style="white-space: nowrap">' : '<nobr>'); ?><a href="<?php echo $link; ?>"><?php echo serendipity_formatTime("%B '%y", mktime(0,0,0,$month)) ?></a><?php echo ($serendipity['XHTML11'] ? '</span>' : '</nobr>'); ?></b>
+ <b><?php echo ($serendipity['XHTML11'] ? '<span style="white-space: nowrap">' : '<nobr>'); ?><a href="<?php echo $link; ?>"><?php echo serendipity_formatTime("%B '%y", mktime(0,0,0,$month, 1, $year)) ?></a><?php echo ($serendipity['XHTML11'] ? '</span>' : '</nobr>'); ?></b>
</td>
<td align="right" class="serendipity_calendarHeader">
|