RFR: 7039: Timestamp granularity too coarse
Suchita Chaturvedi
schaturvedi at openjdk.java.net
Wed Jan 20 04:12:40 UTC 2021
On Wed, 20 Jan 2021 01:00:20 GMT, Marcus Hirt <hirt at openjdk.org> wrote:
>> As part of this enhancement request, user can see the timestamps down to fraction of a second.
>> This will solve the problem for all views, including Event Browser, Properties where most of the records are differentiated by fraction of seconds but since the timestamp shown is only till second, the difference is not visible on UI.
>>
>> For ex: If the End Time of Event is listed as below, the difference is clearly visible
>> 
>
> core/org.openjdk.jmc.common/src/main/java/org/openjdk/jmc/common/unit/TimestampKind.java line 143:
>
>> 141:
>> 142: static {
>> 143: DateFormat df = new SimpleDateFormat("MM/dd/yyyy h:mm:ss:SSS a");
>
> This change is forcing US formatting on everyone...
@thegreystone Can you please suggest a better way to make it generic for every user and still have the timestamp showing the ms part i.e. SSS?
-------------
PR: https://git.openjdk.java.net/jmc/pull/201
More information about the jmc-dev
mailing list