Hi Folks,
Can I add a custom date format or am I restricted to those listed today? I'd like to add dates using slahs as separators like dd/MM/yyyy.
Best regards,
Eric
Custom date formats
Moderator: moderator
i think openemm receives the format from the db and then uses java SimpleDateFormat to implement it.
so, i expect you to have 4 datetypes in your date_tbl in your openemm-db.
so connect to your mysql-server and run:
and use the [agnDATE type=4] - tag in your mailing.
hope this helps.
so, i expect you to have 4 datetypes in your date_tbl in your openemm-db.
so connect to your mysql-server and run:
Code: Select all
INSERT INTO date_tbl (type, format) VALUES (4, 'dd/MM/yyyy');
hope this helps.
-
- Posts: 19
- Joined: Thu Dec 31, 2009 7:44 pm
Hi Pheelix,
Thanks for the help. I inserted the new format, but it did not worked as expected. What I like to do is to import files with date in that format. After inserting went to the profile manager and it still not accepting the new format.
I Also noted that the import profile uses some formats that are not set in the date_tbl table.
But thanks anyway.
Thanks for the help. I inserted the new format, but it did not worked as expected. What I like to do is to import files with date in that format. After inserting went to the profile manager and it still not accepting the new format.
I Also noted that the import profile uses some formats that are not set in the date_tbl table.
But thanks anyway.
-
- Posts: 19
- Joined: Thu Dec 31, 2009 7:44 pm
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Custom date formats
Install Guide for OpenEMM 2011 was updated with new section 6.6 explaining the creation of customized date formats:
https://sourceforge.net/projects/openem ... rsions%29/
https://sourceforge.net/projects/openem ... rsions%29/
OpenEMM Maintainer