It's all about the answers!

Ask a question

Can the date-time in the Data Collection Job Status be formatted for proper sorting ?


long TRUONG (3654117146) | asked Jun 10 '14, 10:27 p.m.
 By default, the default status showed 10 jobs in the order they were executed (sequentially), hence it is in the right date-time order.

But when more than 10 jobs are requested to be displayed, the sorting of dates seem to be in disarray. There seem to be more than just the weakness of an alphabetic ordering of numbers in the date. Is there any parameters, options, or date-time format can be set (e.g. yyyyMMdd_HHmmSS) for proper sorting ?

Status
Data Collection Job
Start Time:
End Time
Time Taken
Succeeded Work Items Jun 2, 2014 6:06 PM Jun 9, 2014 8:07 AM 6 days, 14 hours
Succeeded Build Jun 10, 2014 6:05 PM Jun 10, 2014 6:05 PM 1 second
Succeeded Build Jun 2, 2014 6:06 PM Jun 2, 2014 6:06 PM 1 second
Succeeded APT Jun 10, 2014 6:03 PM Jun 10, 2014 6:05 PM 1 minute, 25 seconds
Succeeded SCM Jun 10, 2014 6:05 PM Jun 10, 2014 6:05 PM 2 seconds
Succeeded SCM Jun 2, 2014 6:05 PM Jun 2, 2014 6:05 PM 2 seconds
Succeeded Build Jun 9, 2014 6:07 PM Jun 9, 2014 6:07 PM 1 second
Succeeded Repository Jun 10, 2014 6:00 PM Jun 10, 2014 6:03 PM 2 minutes, 28 seconds
Succeeded Common Jun 10, 2014 6:00 PM Jun 10, 2014 6:00 PM 30 seconds
Succeeded Repository Jun 2, 2014 6:00 PM Jun 2, 2014 6:03 PM 2 minutes, 45 seconds
Succeeded Common Jun 9, 2014 6:00 PM Jun 9, 2014 6:01 PM 42 seconds
Succeeded APT Jun 9, 2014 6:04 PM Jun 9, 2014 6:06 PM 1 minute, 46 seconds
Succeeded SCM Jun 9, 2014 6:06 PM Jun 9, 2014 6:06 PM 2 seconds
Succeeded Repository Jun 9, 2014 6:01 PM Jun 9, 2014 6:04 PM 2 minutes, 40 seconds
Succeeded APT Jun 2, 2014 6:04 PM Jun 2, 2014 6:05 PM 1 minute, 42 seconds
Succeeded Common Jun 2, 2014 6:00 PM Jun 2, 2014 6:00 PM 22 seconds
Succeeded Work Items May 31, 2014 6:05 PM Jun 2, 2014 4:05 AM 1 day, 9 hours
Succeeded Build May 31, 2014 6:05 PM May 31, 2014 6:05 PM 1 second
Succeeded SCM May 31, 2014 6:04 PM May 31, 2014 6:04 PM 1 second
Succeeded APT May 31, 2014 6:03 PM May 31, 2014 6:04 PM 1 minute, 26 seconds

One answer



permanent link
Don Yang (7.7k21109138) | answered Jun 11 '14, 8:19 a.m.
I don't think there is any options with which you can sort the status manually. It seems that the unusual long running work items job(6 days 14 hours etc) could screw the order somehow internally if the system is configured to run every 24 hours(default) or shorter I checked my RTC 4.0.6 data collection jobs and even though I set the job number to 50, I still see all of the results sorted properly:


Your answer


Register or to post your answer.