Results 1 to 2 of 2

Thread: date zimlet inconsistent

  1. #1
    Join Date
    Dec 2007
    Posts
    238
    Rep Power
    7

    Default date zimlet inconsistent

    F7 5.0.1

    I assume it is the date zimlet that causes popups to appear when you mouse over dates in the calendar and in emails. Anyway, it seems to be a bit hit and miss, sometimes you get a list of appointments on that day, sometimes nothing. When you go back over a date in the small calendar (bottom left of the page) it might appear. It seems to be when you move directly to the next date is fails, if you go "up and over" passing over a few other dates then it displays fine.

    In email I sometimes get "no appointments" when there definitely are, when I re-open the same email then the appointments show.

    Of most concern though are the British date formats, in emails this is what happens;

    08/01/2008 displays Friday, August 1, 2008 (Not it Britain it ain't)
    25/01/2008 displays Tuesday January 1 2008 ??
    1/22/2008 displays Tuesday January 2 2008 (That's invalid in the UK)

    I was showing this to a colleague today and you could see how this little thing overshadowed all the other great things Zimbra does. It might have been better to disable the feature rather that it be a focus for something going wrong but the potential of this zimlet is great. My preferences are set to English UK, how can I get Zimbra to work with British format dates and is there anyway to get the mouse over to be a bit more reliable?
    Last edited by Mike Scholes; 01-23-2008 at 02:21 PM.

  2. #2
    Join Date
    Dec 2007
    Posts
    238
    Rep Power
    7

    Default

    I've managed to fix the British date zimlet problem by modifying date.js with this;

    In function ZmDate7ObjectHandler

    Change

    var month = parseInt(result[1], 10) - 1;
    var dom = parseInt(result[2], 10);

    To

    var month = parseInt(result[2], 10) - 1;
    var dom = parseInt(result[1], 10);

    I just swapped the [1] and [2] around

    Might want to do the same with the "-" dash function

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Replies: 5
    Last Post: 01-11-2008, 04:34 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  5. Date Zimlet speaks French
    By cvidal in forum I18N/L10N - Translations
    Replies: 4
    Last Post: 10-20-2006, 02:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •