]> git.mxchange.org Git - juser-core.git/commitdiff
Updated jar(s)
authorRoland Häder <roland@mxchange.org>
Wed, 14 Sep 2022 06:12:36 +0000 (08:12 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 14 Sep 2022 06:12:36 +0000 (08:12 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jusercore/model/user/Users.java

index 4cc2dba00c838d1b4f0025c0659b72d3cd0a39cb..497515c12777737fe591e1ffe27725d93c024769 100644 (file)
@@ -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;