This commit is contained in:
Denis Molony 2024-05-02 12:38:45 +10:00
parent aa77ec1cd4
commit 171fd66ba1
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Apple II Disk Browser # Apple II Disk Browser
### Alternative ### Alternative
There is a beta release of [DiskBrowser2](https://github.com/dmolony/diskbrowser2) available. There is a new release of [DiskBrowser2](https://github.com/dmolony/diskbrowser2) available.
### Features ### Features
- Cross-platform (Windows, MacOS, Linux) - Cross-platform (Windows, MacOS, Linux)
- Disk formats - Disk formats

View File

@ -7,6 +7,7 @@ import java.time.format.DateTimeFormatter;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Comparator; import java.util.Comparator;
import java.util.List; import java.util.List;
import java.util.Locale;
import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel; import javax.swing.tree.DefaultTreeModel;
@ -31,7 +32,8 @@ public class ProdosDisk extends AbstractFormattedDisk
{ {
static ProdosPreferences prodosPreferences; // set by MenuHandler static ProdosPreferences prodosPreferences; // set by MenuHandler
static final DateTimeFormatter df = DateTimeFormatter.ofPattern ("d-LLL-yy"); private static Locale US = Locale.US; // to force 3 character months
static final DateTimeFormatter df = DateTimeFormatter.ofPattern ("d-LLL-yy", US);
static final DateTimeFormatter tf = DateTimeFormatter.ofPattern ("H:mm"); static final DateTimeFormatter tf = DateTimeFormatter.ofPattern ("H:mm");
final SectorType dosSector = new SectorType ("Bootstrap Loader", Color.lightGray); final SectorType dosSector = new SectorType ("Bootstrap Loader", Color.lightGray);