Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 743)
+++ trunk/CHANGELOG	(revision 744)
@@ -10,7 +10,9 @@
 # = Bugfix
 ! = Update/Change
 
-------------------------------------- 2.7.0 -------------------------------------
+------------------------------------- 2.7.0 -------------------------------------
+08-Mar-2008 Thomas Hornik
+#	fixed issue with news and end-date
 04-Mar-2008 Christian Sommer
 #	fixed issue with smart view URL link
 03-Mar-2008 Thomas Hornik
Index: trunk/wb/include/jscalendar/jscalendar-functions.php
===================================================================
--- trunk/wb/include/jscalendar/jscalendar-functions.php	(revision 743)
+++ trunk/wb/include/jscalendar/jscalendar-functions.php	(revision 744)
@@ -30,6 +30,10 @@
 // strtotime() may fails with e.g. "dd.mm.yyyy" and PHP4
 function jscalendar_to_timestamp($str, $offset='') {
 	$str = trim($str);
+	if($str == '0' || $str == '')
+		return('0');
+	if($offset == '0')
+		$offset = '';
 	// convert to yyyy-mm-dd
 	// "dd.mm.yyyy"?
 	if(preg_match('/^\d{1,2}\.\d{1,2}\.\d{2}(\d{2})?/', $str)) {
