- Timestamp:
- Jan 16, 2005, 6:28:19 PM (20 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r688 r698 416 416 $formated_date = ''; 417 417 // before 1970, Microsoft Windows can't mktime 418 if ($year >= 1970 or substr(PHP_OS, 0, 3) != 'WIN')418 if ($year >= 1970) 419 419 { 420 420 // we ask midday because Windows think it's prior to midnight with a -
trunk/include/functions_category.inc.php
r694 r698 648 648 if (isset($page['calendar_day'])) 649 649 { 650 $unixdate = mktime(0,0,0, 651 $page['calendar_month'], 652 $page['calendar_day'], 653 $page['calendar_year']); 654 $page['title'].= $lang['day'][date("w", $unixdate)]; 650 if ($page['calendar_year'] >= 1970) 651 { 652 $unixdate = mktime(0,0,0, 653 $page['calendar_month'], 654 $page['calendar_day'], 655 $page['calendar_year']); 656 $page['title'].= $lang['day'][date("w", $unixdate)]; 657 } 655 658 $page['title'].= ' '.$page['calendar_day'].', '; 656 659 }
Note: See TracChangeset
for help on using the changeset viewer.