• Date format in template

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #19462  by bc_santana
 
Hi
I managed to create a template from PDF & assigned a property group to it
when using it & filling the property group details it shows the date format as a long date with time
date.png
date.png (2.2 KiB) Viewed 5648 times
in the property group it shows 21-11-2012

i would like to show the same format within the created template if possible

also as you can see the time is not correct it always shows 00:00:00 AST

i tried to define the date format on pdf but it didn't make any difference

kindly advice on this matter

this is my settings
okm Version: 6.2.1 (build: 7659)
locale en-GB
template created using acrobat pro
 #19561  by bc_santana
 
I have attached a test form made for consulting property group
also tested it at the demo okm site with the same result

i have noticed also that the checkbox value is not reflected on the template

kindly check that too

thanx
Attachments
(22.6 KiB) Downloaded 304 times
 #19617  by bc_santana
 
managed to solve the checkbox issue
i had to change the export value in the properties to true
now its reflecting on the template

still can't figure out how to set the date format :(
 #19854  by pavila
 
The property date format only stores the date but not the time. I'm not sure if also should store the time or create a new input type called timestamp (or so) which stores date and time.

Comments are welcome.
 #19858  by bc_santana
 
thanks for the reply

actually i dont need the time ..

all i want to do is to show the date in the pdf template with this format dd/mm/yyyy (or any date only format)
but it shows like this
Wed Nov 21 00:00:00 AST 2012

thanks again
 #19993  by pavila
 
I've thinking a little about this and have doubts. Which date patter should be used when filling the template? The most obvious answer is to use the pattern provide by the user language, but an OpenKM instance may be used by users with different language and date patterns.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.