From a9fedabe3cbd374cfc607314880e2abdd4ee28ea Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sun, 3 Jun 2012 14:48:20 -0400 Subject: [PATCH] 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 --- app/src/processing/app/tools/Archiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/tools/Archiver.java b/app/src/processing/app/tools/Archiver.java index cb282ed69..67c848a17 100755 --- a/app/src/processing/app/tools/Archiver.java +++ b/app/src/processing/app/tools/Archiver.java @@ -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"); }