Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit f1a7b91

Browse files
author
Konstantina Chremmou
committed
CP-32699: Added a couple of error overrides and an ISO 8601 date format.
Signed-off-by: Konstantina Chremmou <[email protected]>
1 parent 34d9ba9 commit f1a7b91

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

csharp/FriendlyErrorNames.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,12 @@ Authorized Roles: {1}</value>
374374
<data name="RESTORE_SCRIPT_FAILED" xml:space="preserve">
375375
<value>The restore could not be performed because the restore script failed. Your backup file may be corrupt. See the logs for more information.</value>
376376
</data>
377+
<data name="SERVER_CERTIFICATE_EXPIRED" xml:space="preserve">
378+
<value>The provided certificate expired on {0}.</value>
379+
</data>
380+
<data name="SERVER_CERTIFICATE_NOT_VALID_YET" xml:space="preserve">
381+
<value>The provided certificate is not valid before {0}.</value>
382+
</data>
377383
<data name="SESSION_AUTHENTICATION_FAILED" xml:space="preserve">
378384
<value>Could not authenticate session. Check your access credentials and try again.</value>
379385
</data>

csharp/autogen/src/Converters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ internal class XenDateTimeConverter : IsoDateTimeConverter
389389
{
390390
private static readonly string[] DateFormatsUniversal =
391391
{
392-
"yyyyMMddTHH:mm:ssZ"
392+
"yyyyMMddTHH:mm:ssZ", "yyyy-MM-ddThh:mm:ssZ"
393393
};
394394

395395
private static readonly string[] DateFormatsOther =

0 commit comments

Comments
 (0)