aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2025-07-17 22:53:40 -0400
committerRob Mensching <rob@firegiant.com>2025-10-08 11:24:43 -0700
commite8e881207a2716f5813e0c76bf2e5e937d3bb3ff (patch)
tree724d7cb84bbe66f64194a58764830b53162acf7f /src/api
parent323a476128a4bc18b54e8e817f2747c6ab00e546 (diff)
downloadwix-e8e881207a2716f5813e0c76bf2e5e937d3bb3ff.tar.gz
wix-e8e881207a2716f5813e0c76bf2e5e937d3bb3ff.tar.bz2
wix-e8e881207a2716f5813e0c76bf2e5e937d3bb3ff.zip
Better date/time checking/error message.
Fixes https://github.com/wixtoolset/issues/issues/9120
Diffstat (limited to 'src/api')
-rw-r--r--src/api/wix/WixToolset.Data/ErrorMessages.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/wix/WixToolset.Data/ErrorMessages.cs b/src/api/wix/WixToolset.Data/ErrorMessages.cs
index 23ba5151..1d02ffd0 100644
--- a/src/api/wix/WixToolset.Data/ErrorMessages.cs
+++ b/src/api/wix/WixToolset.Data/ErrorMessages.cs
@@ -1163,7 +1163,7 @@ namespace WixToolset.Data
1163 1163
1164 public static Message InvalidDateTimeFormat(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) 1164 public static Message InvalidDateTimeFormat(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value)
1165 { 1165 {
1166 return Message(sourceLineNumbers, Ids.InvalidDateTimeFormat, "The {0}/@{1} attribute's value '{2}' is not a valid date/time value. A date/time value should follow the format YYYY-MM-DDTHH:mm:ss.", elementName, attributeName, value); 1166 return Message(sourceLineNumbers, Ids.InvalidDateTimeFormat, "The {0}/@{1} attribute's value '{2}' is not a valid date/time value. A date/time value should follow the format YYYY-MM-DDTHH:mm:ss and be a valid date and time between 1980 and 2043, inclusive.", elementName, attributeName, value);
1167 } 1167 }
1168 1168
1169 public static Message InvalidDocumentElement(SourceLineNumber sourceLineNumbers, string elementName, string fileType, string expectedElementName) 1169 public static Message InvalidDocumentElement(SourceLineNumber sourceLineNumbers, string elementName, string fileType, string expectedElementName)