Pending Review
Last Updated: 07 Jun 2019 17:14 by Mason
Mason
Created on: 05 Jun 2019 15:46
Type: Feature Request
1
Restore full timestamp to sessiontimers
In previous versions, it was possible to see the entire timestamp for a given session timer which would include the date.  In the latest version, it only shows the time (no date) and I can't find any configuration options that would allow a full timestamp.
6 comments
Mason
Posted on: 07 Jun 2019 17:14

Indeed it does and the formatting is as I would expect.  Sorry for the confusion and thanks for the workaround.  Cheers.

Eric
Posted on: 07 Jun 2019 17:06

To be clear, the code I shared will create a new column with the title Timer that shows the data with the date.

 

If the date is still missing in that column, that suggests your OS settings for the default date format are unusual. You can work around that with something like this:

 


public static BindUIColumn("Timer", 60, 5)
function FillTimer(oS: Session): String {
return oS.Timers.ClientBeginRequest.ToString("M-d h:mm:ss:ffff");
}
Mason
Posted on: 07 Jun 2019 12:39

Thanks for the feedback. I inserted the code as you suggested (see attached screenshot) however the timestamp looks the same. Is there something I need to do with my system settings (Windows 10)? Or is there something in the code you provided I need to manipulate to reflect different formats?

 

 

Attached Files:
Eric
Posted on: 06 Jun 2019 22:47

Hmm... Not sure when that changed. Anyway, as a workaround, you can click Rules > Customize Rules and inside the Handlers class add this:

public static BindUIColumn("Timer", 60, 5)
function FillTimer(oS: Session): String { return oS.Timers.ClientBeginRequest.ToString(); }


Mason
Posted on: 05 Jun 2019 23:03

In the session timers class for the columns.  There are times where I will compare responses over time (between builds) and being able to locate a session on a previous date was rather useful.

Eric
Posted on: 05 Jun 2019 21:36
Can you explain where specifically you are looking when you say "shows the time"?