View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur 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

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

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

More
24 Fév 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 Connexion or Create an account to join the conversation.

More
24 Fév 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 Connexion 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 Connexion 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 Connexion or Create an account to join the conversation.

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

Thanks a lot.

Lionel.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.033 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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