Results 1 to 7 of 7

Thread: European 24 h format in the calendar?

  1. #1
    Join Date
    Nov 2005
    Posts
    55
    Rep Power
    10

    Default European 24 h format in the calendar?

    Hi

    How can I set 24 h format in the calendar ?

    in Finland we are using 24 h time format and the date format is dd.mm.yyyy.

    -- Timo

  2. #2
    Join Date
    Nov 2005
    Posts
    1
    Rep Power
    10

    Default

    hi,
    You can change it by modifing the files on /opt/zimbra/tomcat/webapps/zimbra/WEB-INF/classes/msgs/I18nMsg_xx_XX.properties

    the key values the following

    formatDateLong = d MMMM yyyy
    formatDateMedium = d/MM/yyyy
    formatDateShort = d/MM/yy
    formatTimeFull = hh:mm:ss a z
    formatTimeLong = H:mm:ss
    formatTimeMedium = HH:mm:ss
    formatTimeShort = HH:mm

    see java date documentation to know the format diferences (HH, H, hh, etc)

    bye

  3. #3
    Join Date
    Oct 2005
    Location
    California
    Posts
    79
    Rep Power
    10

    Default Calendar Date Formats

    The I18nMsg_xx_XX.properties files are automatically generated during build and match the formats available in Java's DateFormat class. (These patterns are used by the AjxDateFormat class in the client code, by the way.)

    The calendar app has a number of custom formats for column headers, etc. that do not have equivalents in Java's date format patterns. So even though many of the date and time strings will display correctly in the application, there is a short list of custom patterns that must be translated for each language. Here's a list from the latest AjxMsg.properties file:

    formatCalDate
    formatCalDateLong
    formatCalDateFull
    formatCalDay
    formatCalMonth

    weekdaySunShort
    ...
    weekdaySatShort

    monthJanShort
    ...
    monthDecShort

    When translating these patterns, look at the custom patterns defined in the AjxMsg.properties file. Then follow the patterns for this information found in your locale's I18nMsg_xx_XX.properties file when defining the custom patterns.

    For example, formatCalDate shows the weekday name, month name, and day of the month. So the translated pattern for formatCalDate should show the same information, except formatted as appropriate for that locale. Make sense?

    This will ensure that there is consistency between the standard date/time patterns and the custom ones used by the calendar app.

  4. #4
    Join Date
    Oct 2005
    Location
    California
    Posts
    79
    Rep Power
    10

    Default

    Quote Originally Posted by glards
    You can change it by modifing the files on /opt/zimbra/tomcat/webapps/zimbra/WEB-INF/classes/msgs/I18nMsg_xx_XX.properties
    You don't need to modify these files (and it's recommended that you don't) because they are generated during the build.

  5. #5
    Join Date
    Jan 2007
    Posts
    86
    Rep Power
    8

    Default Calendar Date Format

    How do we change the default date format when creating an appointment/meeting?

    The default is date/month/year

    We want month/date year

    The present setting is confusing for our users.

    Example: is 3/4/2007

    March 4, 2007

    - or -

    April 3, 2007?

    We want it to be March 4, 2007

    gersh

  6. #6
    Join Date
    Nov 2005
    Posts
    55
    Rep Power
    10

    Default

    Hi

    All is in the language files. You must change the date formats in the language files, which your users are using.

    The date is defined in many locations. I have changed all dates in Finnish language files. You can look there for the format.

    -- Timo

  7. #7
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    Default

    I am unable to categorize between the various files can anyone help plz....

    what is I18nMsg.properties I18nMsg_en_GB.properties ZMsg_en_AU.properties AjxMsg_en_AU.properties I18nMsg_es.properties etc opt for?

Similar Threads

  1. Outlook/Zimbra Private Appointments Issue
    By Smurthey in forum Zimbra Connector for Outlook
    Replies: 0
    Last Post: 03-09-2007, 07:29 AM
  2. French Calendar time in 24h format
    By cvidal in forum I18N/L10N - Translations
    Replies: 4
    Last Post: 09-27-2006, 01:38 AM
  3. Replies: 4
    Last Post: 01-12-2006, 12:44 PM
  4. Calendar 24 h format
    By meikka in forum Developers
    Replies: 1
    Last Post: 11-24-2005, 12:23 PM
  5. M2 Experiences?
    By jordandeamattson in forum Users
    Replies: 17
    Last Post: 11-22-2005, 03:32 PM

Posting Permissions

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