fix wrong year format default tip

Sat, 28 Dec 2024 18:21:16 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 28 Dec 2024 18:21:16 +0100
changeset 338
3a581d985b87
parent 337
2502bd985333

fix wrong year format

fixes #540

build.gradle.kts file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog-de.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/issue-form.jsp file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/version-form.jsp file | annotate | diff | comparison | revisions
--- a/build.gradle.kts	Sat Nov 09 20:34:21 2024 +0100
+++ b/build.gradle.kts	Sat Dec 28 18:21:16 2024 +0100
@@ -5,7 +5,7 @@
     war
 }
 group = "de.uapcore"
-version = "1.4.0"
+version = "1.5.0"
 
 repositories {
     mavenCentral()
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sat Nov 09 20:34:21 2024 +0100
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sat Dec 28 18:21:16 2024 +0100
@@ -24,6 +24,15 @@
   --%>
 <%@ page contentType="text/html;charset=UTF-8" %>
 
+<h3>Version 1.5.0 (Vorschau)</h3>
+
+<ul>
+    <li>
+        Fehler behoben, bei dem die Formulare für Versionen und Vorgänge existierende Datumsfelder mit dem
+        falschen Jahr befüllen, wenn sich das Datum in Kalenderwoche 1, aber im Dezember befindet.
+    </li>
+</ul>
+
 <h3>Version 1.4.0</h3>
 
 <ul>
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sat Nov 09 20:34:21 2024 +0100
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sat Dec 28 18:21:16 2024 +0100
@@ -24,6 +24,15 @@
   --%>
 <%@ page contentType="text/html;charset=UTF-8" %>
 
+<h3>Version 1.5.0 (preview)</h3>
+
+<ul>
+    <li>
+        Fix that the versions form (release and EOL date) and the issue form (ETA) used
+        the week-year instead of the year for loading an existing date into the form.
+    </li>
+</ul>
+
 <h3>Version 1.4.0</h3>
 
 <ul>
--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Sat Nov 09 20:34:21 2024 +0100
+++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Sat Dec 28 18:21:16 2024 +0100
@@ -151,7 +151,7 @@
         </c:if>
         <tr>
             <th><label for="issue-eta"><fmt:message key="issue.eta"/></label></th>
-            <td><input id="issue-eta" name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="YYYY-MM-dd" timeZone="${timezone}" />" /> </td>
+            <td><input id="issue-eta" name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="yyyy-MM-dd" timeZone="${timezone}" />" /> </td>
         </tr>
         <c:if test="${issue.id ge 0}">
         <tr>
--- a/src/main/webapp/WEB-INF/jsp/version-form.jsp	Sat Nov 09 20:34:21 2024 +0100
+++ b/src/main/webapp/WEB-INF/jsp/version-form.jsp	Sat Dec 28 18:21:16 2024 +0100
@@ -75,13 +75,13 @@
         <tr>
             <th><label for="version-release"><fmt:message key="version.release"/></label></th>
             <td>
-                <input id="version-release" name="release" type="date" value="<fmt:formatDate value="${version.release}" pattern="YYYY-MM-dd" timeZone="${timezone}" />"/>
+                <input id="version-release" name="release" type="date" value="<fmt:formatDate value="${version.release}" pattern="yyyy-MM-dd" timeZone="${timezone}" />"/>
             </td>
         </tr>
         <tr>
             <th><label for="version-eol"><fmt:message key="version.eol"/></label></th>
             <td>
-                <input id="version-eol" name="eol" type="date" value="<fmt:formatDate value="${version.eol}" pattern="YYYY-MM-dd" timeZone="${timezone}" />"/>
+                <input id="version-eol" name="eol" type="date" value="<fmt:formatDate value="${version.eol}" pattern="yyyy-MM-dd" timeZone="${timezone}" />"/>
             </td>
         </tr>
         </tbody>

mercurial