Revision 744
Added by thorn over 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 10 | 10 |
# = Bugfix |
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
| 13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
| 14 |
08-Mar-2008 Thomas Hornik |
|
| 15 |
# fixed issue with news and end-date |
|
| 14 | 16 |
04-Mar-2008 Christian Sommer |
| 15 | 17 |
# fixed issue with smart view URL link |
| 16 | 18 |
03-Mar-2008 Thomas Hornik |
| trunk/wb/include/jscalendar/jscalendar-functions.php | ||
|---|---|---|
| 30 | 30 |
// strtotime() may fails with e.g. "dd.mm.yyyy" and PHP4 |
| 31 | 31 |
function jscalendar_to_timestamp($str, $offset='') {
|
| 32 | 32 |
$str = trim($str); |
| 33 |
if($str == '0' || $str == '') |
|
| 34 |
return('0');
|
|
| 35 |
if($offset == '0') |
|
| 36 |
$offset = ''; |
|
| 33 | 37 |
// convert to yyyy-mm-dd |
| 34 | 38 |
// "dd.mm.yyyy"? |
| 35 | 39 |
if(preg_match('/^\d{1,2}\.\d{1,2}\.\d{2}(\d{2})?/', $str)) {
|
Also available in: Unified diff
fixed issue with news and end-date