Move get_timestamp() into calendar.php and remove duplicate definition.
Fix the default date format in occur_form.php