Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-06-22 13:31:46 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-06-24 16:02:09 +0300
commite5ef0f94de2fe8d1787b04ea38329fa0471be38f (patch)
tree2a5f93a6b0f56b5aa02d0a7785019ec70f359e4f /android
parente77cf9683cf0abe009a8b256192959c039ae6cce (diff)
Fix profile last update format.
Diffstat (limited to 'android')
-rw-r--r--android/src/com/mapswithme/maps/editor/ProfileFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/src/com/mapswithme/maps/editor/ProfileFragment.java b/android/src/com/mapswithme/maps/editor/ProfileFragment.java
index 2abdbd0391..94388423c7 100644
--- a/android/src/com/mapswithme/maps/editor/ProfileFragment.java
+++ b/android/src/com/mapswithme/maps/editor/ProfileFragment.java
@@ -88,7 +88,7 @@ public class ProfileFragment extends AuthFragment implements View.OnClickListene
refreshRatings(0, 0, 0, "");
}
- private void refreshRatings(long uploadedCount, long uploadMillis, long rank, String levelFeat)
+ private void refreshRatings(long uploadedCount, long uploadSeconds, long rank, String levelFeat)
{
String edits, editsDate;
@@ -99,7 +99,7 @@ public class ProfileFragment extends AuthFragment implements View.OnClickListene
else
{
edits = String.valueOf(uploadedCount);
- editsDate = DateUtils.formatDateTime(getActivity(), uploadMillis, 0);
+ editsDate = DateUtils.formatDateTime(getActivity(), uploadSeconds * 1000, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_TIME);
}
mEditsSent.setText(edits);
mEditsSentDate.setText(String.format(Locale.US, "%s %s", getString(R.string.last_upload), editsDate));