IssueManager 3.0
IssueManager Enhanced 3.0
VCalendar

News 
Patches available in Downloads 9/5/2006

Subscribe
for notifications about new releases
(of all our apps)
Email


Wordpress themes


Design awesome Wordpress
themes & professional
Website templates.
www.Artisteer.com

Events Not displaying
Author Danny Posting date 9/27/2007 5:19:51 AM
Please Help

I am running VCalendar but if I select the year View and then Click on the date that is highlighted on the next window that come up, it says (There is no data related to this day/event.)

Please Please Help


Danny
 

Replies
Re: Events Not displaying 
Author Ric  Posting date 10/2/2007 5:42:35 PM 
I followed up your request, Robert and George from ultraApps support center provided this solution:

Open file Common.php

Change line32
From:
"DateFormat" => array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn", ":", "ss"),
To:
"DateFormat" => array("yyyy", "-", "mm", "-", "dd"),

Works fine on 3.5-Apollo

Check this page:

forum.uniformserver.com/index.php?showtopic=1295&pid=5768&st=0&#entry5768

All the best Ric
 
Re: Events Not displaying 
Author Lina  Posting date 6/5/2012 1:17:46 PM 
It looks like you are using to_date where to_char would be more appropriate:to_date(text,text) covrent string to date to_char(timestamp, text) covrent time stamp to stringInstead of relying on the old implicit cast of timestamp to text ISO 8601 format, having to_date parse it according to you YYYY-MM-DD' format, covrent it into a date object and then spit it out as ISO 8601 text (effectively truncating all but the date part of the timestamp), you could use to_char:SELECT to_char(createddate,'YYYY-MM-DD') FROM n_url_test;Since to_char expects a timestamp there should not be a casting error and you aren't turning it into a date object. It goes directly to text using the formatting string of your choosing. 
Re: Events Not displaying 
Author Nithya  Posting date 6/5/2012 11:54:22 PM 
- This script will reurtn whole week from Monday till Sunday for a given date. If you want to display (say Wednesday) it is enough to define $i=3 and to comment out the for loop. Something like this for the second example:$i = 3;// print week for the current date//for($i = 1; $i< = 7; $i++) { // timestamp from ISO week date format $ts = strtotime($year.'W'.$week.$i); print date("m/d/Y l", $ts) . "\n";//} 

Post reply
Author *
Topic *
Message *

   Visit our sponsors:
Visual PHP and Web Development, Web Reporting