mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 20:15:22 +02:00
[317541] Show blank as the last modified for a file with no last modified
This commit is contained in:
parent
4da5370219
commit
cc2193f725
1 changed files with 7 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
||||||
* David McKnight (IBM) - [280466] File download keeps running in case sensitive case
|
* David McKnight (IBM) - [280466] File download keeps running in case sensitive case
|
||||||
* David McKnight (IBM) - [309813] RSE permits opening of file after access removed
|
* David McKnight (IBM) - [309813] RSE permits opening of file after access removed
|
||||||
* David McKnight (IBM) - [308221] Bidi3.6: Improper display of date in Properties and Table Views
|
* David McKnight (IBM) - [308221] Bidi3.6: Improper display of date in Properties and Table Views
|
||||||
|
* David McKnight (IBM) - [317541] Show blank as the last modified for a file with no last modified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.files.ui.view;
|
package org.eclipse.rse.internal.files.ui.view;
|
||||||
|
@ -1291,6 +1292,12 @@ public class SystemViewRemoteFileAdapter
|
||||||
Date date = file.getLastModifiedDate();
|
Date date = file.getLastModifiedDate();
|
||||||
if (date != null)
|
if (date != null)
|
||||||
{
|
{
|
||||||
|
long t = date.getTime();
|
||||||
|
if (t == 0){
|
||||||
|
// no time available, we should leave this blank
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
if (formatted)
|
if (formatted)
|
||||||
{
|
{
|
||||||
ULocale locale = ULocale.getDefault();
|
ULocale locale = ULocale.getDefault();
|
||||||
|
|
Loading…
Add table
Reference in a new issue