--- projects/cms/source/util/uk/org/iscream/cms/util/FormatName.java 2001/02/25 20:32:50 1.5 +++ projects/cms/source/util/uk/org/iscream/cms/util/FormatName.java 2001/02/26 00:46:17 1.7 @@ -13,7 +13,7 @@ import java.util.Locale; * a toString String to send to the logger. * * @author $Author: tdb $ - * @version $Id: FormatName.java,v 1.5 2001/02/25 20:32:50 tdb Exp $ + * @version $Id: FormatName.java,v 1.7 2001/02/26 00:46:17 tdb Exp $ */ public class FormatName { @@ -21,7 +21,7 @@ public class FormatName { /** * An array of names of verbosity levels. - * Thus logging messages are now "classed" by the level" + * Thus logging messages are now "classed" by the level */ private final static String[] VERBOSITY_NAMES = {"FATAL ", "ERROR ", "WARNING", "SYSMSG ", "SYSINIT", "DEBUG "}; @@ -64,7 +64,7 @@ public class FormatName { * @return The string to be written to the log. */ public static String formatLogLine(String source, int verbosity, String message){ - String date = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM).format(new Date()); + String date = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM, Locale.UK).format(new Date()); return "[" + date + "] [" + VERBOSITY_NAMES[verbosity] + "] " + source + ": " + message; }