mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Don't translate SimpleDateFormat string.
The yyMMdd string that the sketch archiver tool uses to format archive names was being localized (i.e. was wrapped in _()). This gave an error on startup (and the Arduino software would fail to launch), if someone translated the string to something that wasn't a valid date format. Since this is an internal string, it shouldn't be translated. http://code.google.com/p/arduino/issues/detail?id=942
This commit is contained in:
@ -56,7 +56,7 @@ public class Archiver implements Tool {
|
|||||||
numberFormat.setGroupingUsed(false); // no commas
|
numberFormat.setGroupingUsed(false); // no commas
|
||||||
numberFormat.setMinimumIntegerDigits(digits);
|
numberFormat.setMinimumIntegerDigits(digits);
|
||||||
|
|
||||||
dateFormat = new SimpleDateFormat(_("yyMMdd"));
|
dateFormat = new SimpleDateFormat("yyMMdd");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user