View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - How to change actualDueDateTime Ticket's field in a simple datePicker without time information ? - ProjeQtOr
 

How to change actualDueDateTime Ticket's field in a simple datePicker without time information ?

More
24 Feb 2014 14:27 #1 by lfrugere
Hi babynus,

I tried to modify my /model/custom/SimpleTicket.php file for hide (or disable) time information in actualDueDateTime field.
I change :
<th field="actualDueDateTime" width="10%" formatter="dateTimeFormatter">${actualDueDateTime}</th>
into :
<th field="actualDueDateTime" width="10%" formatter="dateFormatter">${actualDueDateTime}</th>

However, time information is still displayed ?

What I 'm missing ?

Thanks,

Lionel.

Please Log in or Create an account to join the conversation.

More
24 Feb 2014 23:50 #2 by babynus
Just rename it as actualDueDate, and map to the database field with StaticDatabaseColumnName ...

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
31 Mar 2014 18:07 - 31 Mar 2014 18:50 #3 by lfrugere
Hello babynus,

Sorry but I tried this custom and I cannot get it work (release 4.2.3)

In fact, there 's still time picker ...

Attached, my custom/Ticket.php (

File Attachment:

File Name: Ticket.zip
File Size:3 KB

) if you want to look at it.

Thans in advance,

Lionel.
Attachments:
Last edit: 31 Mar 2014 18:50 by lfrugere.

Please Log in or Create an account to join the conversation.

More
31 Mar 2014 19:33 - 31 Mar 2014 19:33 #4 by babynus
Sorry, my mistake :blush:

It is even more simple, you don't need to change code.
Just change data type in database, from datetime to date.
That's all. ;)

Babynus
Administrator of ProjeQtOr web site
Last edit: 31 Mar 2014 19:33 by babynus.
The following user(s) said Thank You: lfrugere

Please Log in or Create an account to join the conversation.

More
01 Apr 2014 11:30 #5 by lfrugere
The simpler the better ...

Thanks a lot.

Lionel.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.036 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.