Github user ddekany commented on a diff in the pull request:
https://github.com/apache/incubator-freemarker/pull/15#discussion_r94276527
--- Diff: src/test/java/freemarker/manual/CustomFormatsExample.java ---
@@ -49,7 +50,9 @@ public void aliases1() throws IOException,
TemplateException {
Map<String, TemplateDateFormatFactory> customDateFormats
= new HashMap<String, TemplateDateFormatFactory>();
- customDateFormats.put("fileDate", new
AliasTemplateDateFormatFactory("dd/MMM/yy hh:mm a"));
+ Map<Locale, String> m=new HashMap<Locale,String>();
--- End diff --
This change is should be unnecessary, because if you don't specify a locale
`Map`, the specified default pattern will be used regardless of your locale.
Does this test fail for you without the `Map`? That can be a symptom of some
other bug then.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---