mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-13 06:29:31 +00:00
date format fix
This commit is contained in:
parent
5e053872a9
commit
7aa80b8b5e
|
@ -363,7 +363,6 @@ public class AppleDisk implements Disk
|
||||||
// ---------------------------------------------------------------------------------//
|
// ---------------------------------------------------------------------------------//
|
||||||
{
|
{
|
||||||
this.dosVersion = version;
|
this.dosVersion = version;
|
||||||
// System.out.printf ("DOS version %02X%n", version);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -23,7 +23,7 @@ import com.bytezone.diskbrowser.utilities.Utility;
|
||||||
class TreeBuilder
|
class TreeBuilder
|
||||||
// -----------------------------------------------------------------------------------//
|
// -----------------------------------------------------------------------------------//
|
||||||
{
|
{
|
||||||
private static SimpleDateFormat sdf = new SimpleDateFormat ("dd MMM yyyy");
|
private static SimpleDateFormat sdf = new SimpleDateFormat ("dd LLL yyyy");
|
||||||
|
|
||||||
private final FileComparator fileComparator = new FileComparator ();
|
private final FileComparator fileComparator = new FileComparator ();
|
||||||
private final JTree tree;
|
private final JTree tree;
|
||||||
|
@ -219,8 +219,7 @@ class TreeBuilder
|
||||||
String type = pos > 0 && !f.isDirectory () ? name.substring (pos) : "";
|
String type = pos > 0 && !f.isDirectory () ? name.substring (pos) : "";
|
||||||
String size = f.isDirectory () ? "" : String.format ("%,14d", f.length ());
|
String size = f.isDirectory () ? "" : String.format ("%,14d", f.length ());
|
||||||
text.append (String.format ("%s %-40.40s %s %-14s %s%n",
|
text.append (String.format ("%s %-40.40s %s %-14s %s%n",
|
||||||
f.isDirectory () ? "D" : " ", name, sdf.format (d).replace (".", ""), size,
|
f.isDirectory () ? "D" : " ", name, sdf.format (d), size, type));
|
||||||
type));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user