From: Roland Häder Date: Wed, 14 Sep 2022 06:12:36 +0000 (+0200) Subject: Updated jar(s) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8aefbea168a6370c89d792048b965009719e97d7;p=juser-core.git Updated jar(s) Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/Users.java b/src/org/mxchange/jusercore/model/user/Users.java index 4cc2dba..497515c 100644 --- a/src/org/mxchange/jusercore/model/user/Users.java +++ b/src/org/mxchange/jusercore/model/user/Users.java @@ -284,10 +284,10 @@ public class Users implements Serializable { */ public static String getFormattedTimestampFromUser (final User user, final Date date) { // Get formatter - DateFormat format = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, user.getUserLocale()); + final DateFormat format = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, user.getUserLocale()); // Now simply format the calendar's Time (not just time) field - String dateTime = format.format(date.getTime()); + final String dateTime = format.format(date.getTime()); // Return it return dateTime;