Project

General

Profile

« Previous | Next » 

Revision 643

Added by thorn almost 17 years ago

Had to fix some strtotime()-related issues in admin/pages/sections and module news to use with PHP4.

View differences:

wb-setup.php
1 1
<?php
2 2

  
3
// $Id:$
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
53 53
	if(LANGUAGE=='EN')
54 54
		$jscal_firstday = '0'; // sunday
55 55
	// date and time format for the text-field and for jscal's "ifFormat". We offer dd.mm.yyyy or yyyy-mm-dd or mm/dd/yyyy
56
	// ATTN: strtotime() fails with "dd.mm.yyyy" and PHP4. So the string has to be converted to e.g. "yyyy-mm-dd", which will work.
56 57
	switch(DATE_FORMAT) {
57 58
		case 'd.m.Y':
58 59
		case 'd M Y':

Also available in: Unified diff