Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Dates are showed in English format because they are defined as is in "FormatSingleton.java".
I've made a patch to use "Locale" rather than an specified format mask.
P.D.: There is a mistake and must be resolved in a similar way than "BeoBatcher", changing from:
dateFormat = new SimpleDateFormat();
dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM, getLocale());
But problem is:
How we can get locale in this class "FormatSingleton"? Seems to be an static and "strange" class and I don't want touch it in a wrong way.
You seem to have CSS turned off.
Please don't fill out this field.
P.D.: An "medium" stable solution can be provided in this last patch. Works well for many languages but for Spanish isn't showing leading zeroes neither dates nor times.
But I think a more reliable solution can be move contents of "FormatSingleton" class to constants initialized when program starts.
Finally I think we need in this case "constants": it's the only way to get only once format loaded and used many times. Please, study this patch.
Sorry, I'm owner of last post: I wasn't logged.
Finally I think we need in this case "constants": it's the only way to get only once format loaded and used many times. Also for "DecimalFormat" I think we don't need an special mask (default mask runs well). Please, study this patch.
Santiago Lizardo Oscares
Patch included on the next release. Thanks!