Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > General Discussions

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-23-2012, 03:34 PM
whizzy whizzy is offline
Junior Member
 
Join Date: Nov 2011
Posts: 22
Post Due Date with TIME

Hi All, i am a vivid user of osticket, and i have a question, hope some programmers here will find it very easy. Once i login as a staff in the osticket interface and go to the dashboard , i see the following columns


Ticket Date Due Date Subject Department Priority From

But the issue is i see only Due Date, and it wont show me the Due Date;s time, which i think should be called the Due time.

Say for example: there are 5 tickets today, all of the 5 tickets show overdue but without the time mentioned. ofcourse when we click open the ticket i can see it clearly. but wondering if someone has fixed this already.Many thanks in advance
Reply With Quote
  #2  
Old 06-02-2012, 02:41 AM
whizzy whizzy is offline
Junior Member
 
Join Date: Nov 2011
Posts: 22
Default

does anyone have a suggestion on this
Reply With Quote
  #3  
Old 06-25-2012, 02:51 PM
whizzy whizzy is offline
Junior Member
 
Join Date: Nov 2011
Posts: 22
Default

Any idea ?
Reply With Quote
  #4  
Old 07-02-2012, 03:38 PM
axiscars axiscars is offline
Junior Member
 
Join Date: Sep 2011
Posts: 13
Default Showing Date & Time

I think sorted this on my system a while back..
I believe it's to do with date format in the code of line you want to show it, look here-
/include/staff/viewticket.inc.php

find where duedate is showing in code ..
eg. below-

"<th>Due Date:</th>
<td><?=Format::db_datetime($ticket->getDueDate())?>"


where "Format::db_datetime" I (think) I changed this from "Format::db_date"

Give it a try..

K
Reply With Quote
  #5  
Old 07-02-2012, 04:42 PM
whizzy whizzy is offline
Junior Member
 
Join Date: Nov 2011
Posts: 22
Default

wow .. Axiscars, u r awesome. Thank you for your prompty response, i appreciate your pointer for me. i did try what you mentioned it is exactly the same i asked for ...

i am looking to bring the due date along with the time in the staff's dashboard.

i am wondering where i need to add it.
Reply With Quote
  #6  
Old 07-02-2012, 04:57 PM
whizzy whizzy is offline
Junior Member
 
Join Date: Nov 2011
Posts: 22
Default

hey Axiscars, thank you soo much, i figured it out and did it . i found exactly what you mentioned on line 398 in the tickets.inc.php and it works like a breeze for me... thanks again ! u were just awesome !
Reply With Quote


Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:49 AM.