Community
Participate
Working Groups
The "Last modified" time for files in the RSE Properties View is filled from IHostFile.getModifiedDate(), which has semantics same as Java File.lastModified(): seconds since the Epoch, GMT. Essentially for a remote system we do not know what time zone the remote system runs in, so we need to display time information in a common format such as UTC or GMT. What's confusing for the user, is that when he types e.g. ls -l in a remote shell, times are displayed in the remote system's time zone. So they do not match what the Properties view shows. Therefore, the Properties View should indicate that the times displayed are in GMT, e.g. April 6, 2006 10:40:33 AM GMT This could be accomplished by doing Date.toGMTString() instead of Date.toString(), or the equivalent from DateFormat.format().
When I do Right-click > Properties on a file, I see a date displayed including a time zone indication: Thursday, April 6, 2006 10:40:33 AM CEST This seems to be the time zone of my local RSE client, which is fine [check if it is correct or GMT though]. I think the Properties View should show the same time zone indication in a shorter form (without the day of week, and month only 3 chars): Apr 6, 2006 10:40:33 AM CEST
Decreased priority and set to enhancement since this is just a display issue that can be fixed late.
Martin -- I think I may have fixed this with the change to use the DateFormat class from ICU4J. Please take a look and verify. -- DaveD
No, in the Properties View there is still no time zone indication. It's not a very big deal though.