From dd115f2c086e2aadbdb9210792b38b5454742518 Mon Sep 17 00:00:00 2001
From: gmantele <gmantele@ari.uni-heidelberg.de>
Date: Tue, 12 Jan 2016 15:24:14 +0100
Subject: [PATCH] [UWS] Display by default the time zone in the ISO-8601 dates
 returned by a UWS service.

---
 src/uws/ISO8601Format.java | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/uws/ISO8601Format.java b/src/uws/ISO8601Format.java
index 597e0fa..9613aef 100644
--- a/src/uws/ISO8601Format.java
+++ b/src/uws/ISO8601Format.java
@@ -16,7 +16,7 @@ package uws;
  * You should have received a copy of the GNU Lesser General Public License
  * along with UWSLibrary.  If not, see <http://www.gnu.org/licenses/>.
  * 
- * Copyright 2014-2015 - Astronomisches Rechen Institut (ARI)
+ * Copyright 2014-2016 - Astronomisches Rechen Institut (ARI)
  */
 
 import java.text.DecimalFormat;
@@ -95,16 +95,17 @@ import java.util.regex.Pattern;
  * </p>
  * 
  * @author Gr&eacute;gory Mantelet (CDS;ARI)
- * @version 4.2 (12/2015)
+ * @version 4.2 (01/2016)
  * @since 4.1
  */
 public class ISO8601Format {
 
 	/** Indicate whether any date formatted with this class displays the time zone. */
-	public static boolean displayTimeZone = false;
+	public static boolean displayTimeZone = true;
 	/** Indicate whether any date formatted with this class displays the milliseconds. */
 	public static boolean displayMilliseconds = false;
-	/** Indicate the time zone in which the date and time should be formatted (whatever is the time zone of the given date). */
+	/** Indicate the time zone in which the date and time should be formatted (whatever is the time zone of the given date).
+	 * Note: for the local time zone, this attribute could be set to <code>TimeZone.getDefault().getID()</code>. */
 	public static String targetTimeZone = "UTC"; // for the local time zone: TimeZone.getDefault().getID();
 
 	/** Object to use to format numbers with one digit (ie. 1, 2, 0).
-- 
GitLab