Results 1 to 3 of 3

Thread: Add Time to Date display in Serenity Skin

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Posts
    16
    Rep Power
    3

    Default Add Time to Date display in Serenity Skin

    Hello,

    Several of our users, Customer Service Reps, really need to be able to quickly see the time an email was received. I would like to be able to add the time to the date that gets displayed. I know this information is reasonably available as it shows up if you mouse over the email. However people are used to what they are used to and it is ITs responsibility to try and easy the changes as much as possible. I wondered of anyone had any idea where this bit of code might be.

  2. #2
    Join Date
    Sep 2012
    Posts
    8
    Rep Power
    3

    Default

    Hey earlgrei,

    I was actually poking around the date functions lately myself and I hope I can give you some guidance based on my findings. The first question I have for you is where exactly do you want the timestamp to show up? In the message list pane on the customer end? Anyway, here's a few files of interest:

    /opt/zimbra/jetty/webapps/zimbra/js/ajax/util/AjxDateUtil.js
    - for you to go through the code and find out which date formatting function you'd like to use

    /opt/zimbra/jetty/webapps/zimbra/js/zimbraMail/share/view/ZmListView.js
    -this should have the chunk of code that brings in the cell contents for the date field in the message list pane (look for ZmItem.F_DATE). You'll have to override this function yourself so you can change the AjxDateUtil call to whatever function you select from the AjxDateUtil.js file.

    I hope this helps!

    -P

  3. #3
    Join Date
    Sep 2012
    Posts
    16
    Rep Power
    3

    Default

    Hi, So I found the code I needed to change. Now the only thing I need to figure out how to do is get the bugger to apply. Right now its loading, presumably, cached versions of the Javascript and CSS files. I can make changes but it still loads the cached versions. Any ideas?

Similar Threads

  1. [SOLVED] Time display
    By cljoshi in forum Administrators
    Replies: 5
    Last Post: 07-15-2010, 05:05 AM
  2. received date/time = import date time
    By dwatts in forum Administrators
    Replies: 0
    Last Post: 04-27-2010, 05:01 AM
  3. wrong display date
    By yyagol in forum Installation
    Replies: 0
    Last Post: 05-06-2009, 08:52 AM
  4. How to display time and date in "Received" column
    By celeron in forum Administrators
    Replies: 3
    Last Post: 01-28-2009, 01:26 AM
  5. Display full date and time on message list
    By mteixeira in forum Users
    Replies: 0
    Last Post: 06-24-2008, 01:21 AM

Tags for this Thread

Posting Permissions

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