Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8026 Posts in 1851 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: event edit fields  (Read 295 times)
0 Members and 1 Guest are viewing this topic.
mono
Guest
« on: March 05, 2002, 10:39:00 AM »

after adding an event to a day of the month that only contains one digit (1-9), and going to the "Edit events" section...the events are listed with the dates as "00" no matter what date it falls on. this does not, however, happen when editing info. for events that fall on days 10-31.

is there  a fix for this??

-----------

MAC OS 9.2 off UNIX server
with i.e. and netscape

Logged
Scott
Guest
« Reply #1 on: March 05, 2002, 11:57:00 AM »

See: Are these two bugs in 3.1?


Scott
CalendarScript.com


----- Link Updated -----


[This message has been edited by DanO (edited April 09, 2007).]

Logged
spuds
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: March 07, 2002, 06:59:00 PM »

I spent a little while digging on this one and found the
UNLZ bug too.  My searches on the support forum never were
able to find the information I was looking for.  Perhaps a single forum for "Bugs" would have helped.

Anyway, the one thing that Matt doesn't mention in the thread the link points to is the fact that the "Start Date" field in the Edit/Delete template is probably not displaying as he intended.  The date that gets displayed is simply the day of the month from the schedule database.  I think Matt meant to make it a real date because if you look at the code you see that when a "search" output is being displayed, Matt uses the &SimpleDateFormat::formatDate function.  Looks much better.

I modified the edit_delete_event.html template so that it shows the "Start Date" as a real date.  Don't know if anyone else has found this or not.

Diffs:
---------
*** edit_delete_events.html     Wed Mar  6 12:40:58 2002
--- edit_delete_events.html~    Thu Mar  7 16:44:22 2002
***************
*** 183,191 ****
       $id = $e->{'details'}->{'id'};
       $nextoccurrence = $e->{'schedule'}->{'nextoccurrence'};
       $title = $e->{'details'}->{'title'};
! #     $date = &Date::LZ($e->{'schedule'}->{'date'});
! # KEO Modified 3/6/2002
!       $date = &SimpleDateFormat::formatDate($e->{'schedule'}->{'start'},$dateFormat);
       $start = $e->{'schedule'}->{'start_time'};
       $start = &Date::formatTime($start,$Config->get("time_format"));
       $all_day = $e->{'schedule'}->{'all_day'};
--- 183,189 ----
       $id = $e->{'details'}->{'id'};
       $nextoccurrence = $e->{'schedule'}->{'nextoccurrence'};
       $title = $e->{'details'}->{'title'};
!       $date = &Date::LZ($e->{'schedule'}->{'date'});
       $start = $e->{'schedule'}->{'start_time'};
       $start = &Date::formatTime($start,$Config->get("time_format"));
       $all_day = $e->{'schedule'}->{'all_day'};

--------------------------------------------------------

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: March 23, 2003, 04:19:00 PM »

Just to clarify spuds mod, change the following line in edit_delete_events.html

$date = &Date::LZ($e->{'schedule'}->{'date'});

to

$date = &SimpleDateFormat::formatDate($e->{'schedule'}->{'start'},$dateFormat);

JFYI

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: