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
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
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
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.
You don't need to modify these files (and it's recommended that you don't) because they are generated during the build.Originally Posted by glards
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
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
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?
There are currently 1 users browsing this thread. (0 members and 1 guests)