irfan-arshad-arbisoft / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Year is missing from track name when using 'Date (local)' format #1449

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Ensure Settings > Recording > Default track name is set to 'Date (local)'
2. Record a track

What is the expected output? What do you see instead?
The name given to the track will be missing the year component, it will only 
contain the day, month and time.  The year component should be present.  (Also 
the format doesn't seem to change when alterting the system date format 
setting, should it?  It always uses dd/mm hh:mm regardless of the system 
setting)

What version of MyTracks are you using? On what version of Android? On what
phone?
MyTracks v2.0.6, Android 4.4.2, Moto G

Original issue reported on code.google.com by martynsm...@gmail.com on 3 Feb 2014 at 7:55

GoogleCodeExporter commented 9 years ago
I believe to fix this issue the flag DateUtils.FORMAT_SHOW_YEAR needs adding to 
the first call in StringUtils.formatDateTime to ensure it's always present.

Original comment by martynsm...@gmail.com on 4 Feb 2014 at 12:02

GoogleCodeExporter commented 9 years ago
Will be fixed in version 2.0.7

Original comment by jshih@google.com on 13 Jun 2014 at 7:19