mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01: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:
parent
b787982eec
commit
a9fedabe3c
@ -56,7 +56,7 @@ public class Archiver implements Tool {
|
||||
numberFormat.setGroupingUsed(false); // no commas
|
||||
numberFormat.setMinimumIntegerDigits(digits);
|
||||
|
||||
dateFormat = new SimpleDateFormat(_("yyMMdd"));
|
||||
dateFormat = new SimpleDateFormat("yyMMdd");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user