I searched for a way to easily change default date format on zimbra_date zimlets but no luck, so I tried to modify the zimlet myself by replacing the default properties.
Not sure if this is the right way, but it seems to work fine for me.
Any comment or feedback would be appreciated.
Thanks,
Changing Date format
Change default US date format to another.
1.Edit com_zimbra_date zimlet as "zimbra" user
Check zimlets statusCode:su - zimbra cd zimlets/
if the zimlet is being used, undeploy it before start modifying.Code:zmzimletctl listZimlets
2.Create a tmp directory and extract the zimlet into itCode:zmzimletctl undeploy com_zimbra_date.zip
3.Backup the zip file and cd into the new created directoryCode:mkdir tmp unzip com_zimbra_date.zip tmp
4.In the tmp directory, you should see these available filesCode:mv com_zimbra_date.zip com_zimbra_date.zip.backup cd tmp
5.Back up the default (US) properties fileCode:com_zimbra_date.properties com_zimbra_date_en_AU.properties com_zimbra_date_hi.properties com_zimbra_date_nl.properties com_zimbra_date_sv.properties formats.js com_zimbra_date.xml com_zimbra_date_en_GB.properties com_zimbra_date_it.properties com_zimbra_date_pl.properties com_zimbra_date_zh_CN.properties com_zimbra_date_da.properties com_zimbra_date_es.properties com_zimbra_date_ja.properties com_zimbra_date_pt_BR.properties com_zimbra_date_zh_HK.properties com_zimbra_date_de.properties com_zimbra_date_fr.properties com_zimbra_date_ko.properties com_zimbra_date_ru.properties date.js
6.replace the default file with another properties, UK for example.Code:mv com_zimbra_date.properties com_zimbra_date_en_US.properties
7.compress all files back into a zip againCode:cp com_zimbra_date_en_GB.properties com_zimbra_date.properties
8.deployCode:zimbra@mail:~/zimlets/tmp$ zip ../com_zimbra_date.zip *
9.Restart mailboxdCode:zmzimletctl deploy com_zimbra_date.zip
Hope this help and sorry for my English.Code:zmmailboxdctl restart
![]()


LinkBack URL
About LinkBacks


