Skip to content

Commit 9ce1533

Browse files
committed
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
1 parent aade99f commit 9ce1533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/tools/Archiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void init(Editor editor) {
5656
numberFormat.setGroupingUsed(false); // no commas
5757
numberFormat.setMinimumIntegerDigits(digits);
5858

59-
dateFormat = new SimpleDateFormat(_("yyMMdd"));
59+
dateFormat = new SimpleDateFormat("yyMMdd");
6060
}
6161

6262

0 commit comments

Comments
 (0)