Skip to content

Commit

Permalink
Fix lastModified for deactivated maps (DateFormat)
Browse files Browse the repository at this point in the history
  • Loading branch information
RZR-UA committed Dec 12, 2024
1 parent b3f8a03 commit a70ff61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsmAnd/src/net/osmand/plus/resources/ResourceManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,7 @@ public Map<String, String> getBackupIndexes(Map<String, String> map) {
if (lf != null) {
for (File f : lf) {
if (f != null && f.getName().endsWith(IndexConstants.BINARY_MAP_INDEX_EXT)) {
map.put(f.getName(), AndroidUtils.formatDate(context, f.lastModified()));
map.put(f.getName(), getDateFormat().format(f.lastModified()));
}
}
}
Expand Down

0 comments on commit a70ff61

Please sign in to comment.