U&M Software Forum

Choose a Category below

You are not logged in.

#1 2009-12-15 22:37:18

admin
Administrator
Registered: 2006-11-30
Posts: 202

January showing the wrong year

A small code error is causing this, it's however very easy to fix.

----------------------------------------------------------------
For the front end calendar do the following:

Open file calendar.php
Find line 42, it should look like this:

echo "<b>" . strftime("%B %G", $datum) . "</b>\n";

Change it to:

echo "<b>" . strftime("%B %Y", $datum) . "</b>\n";
----------------------------------------------------------------

For the calendar in the user are do the following:

Open file dagsidan.php
Find line 89, it should look like this:

echo "<b>" . strftime("%B %G", $datum) . "</b>\n";

Change it to:

echo "<b>" . strftime("%B %Y", $datum) . "</b>\n";
---------------------------------------------------------------

Thats it folks, now the calendar will show the correct year for january.

Admin

Offline

 

Board footer

Return to Signup start page

Return to JustBookIt start page

Return to JustListIt start page

Copyright © U&M Software 2008