From d5f09cc053d7203bd38492f272a03ff2cb2edbc5 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 28 Sep 2017 07:06:35 +0200 Subject: [PATCH] string improvements --- OsmAnd/res/values/strings.xml | 2 +- .../plus/mapmarkers/SaveAsTrackBottomSheetDialogFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 294bc15b82..0b293f24c2 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -17,7 +17,7 @@ Sort Coordinate input is saved - OsmAnd will save all your markers to a separate file, you can enter filename: + OsmAnd will save your markers to a separate file, you can enter a filename: Save as track Move to history Group will be removed after restart diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/SaveAsTrackBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/SaveAsTrackBottomSheetDialogFragment.java index f625f5b7e5..0b918466ba 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/SaveAsTrackBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/SaveAsTrackBottomSheetDialogFragment.java @@ -69,7 +69,7 @@ public class SaveAsTrackBottomSheetDialogFragment extends BottomSheetDialogFragm dir.mkdirs(); } Date date = new Date(); - final String suggestedName = mapActivity.getString(R.string.markers) + "_" + DateFormat.format("dd_MM_yyyy", date).toString(); + final String suggestedName = mapActivity.getString(R.string.markers) + "_" + DateFormat.format("yyyy-MM-dd", date).toString(); String displayedName = suggestedName; File fout = new File(dir, suggestedName + GPX_SUFFIX); int ind = 1;