Corrected error messages mismatches

This commit is contained in:
kossithedon 2024-06-13 00:44:23 +02:00
parent a89c2bbc4f
commit 8e871637b5
No known key found for this signature in database
GPG key ID: C482A9E4338AB371
3 changed files with 4 additions and 4 deletions

View file

@ -79,7 +79,7 @@ class NTPTimestampToUNIXTimestamp extends Operation {
// Check whether the seconds value part do not exceeds the greatest seconds value
if (unixTimestampSecondsPart > greatestSecondsValue) {
return `Error: The NTP Timestamp seconds part '${unixTimestampSecondsPart}' exceeds the greatest authorized seconds value ${greatestSecondsValue} due to an incorrect provided UNIX timestamp`;
return `Error: The NTP Timestamp seconds part '${unixTimestampSecondsPart}' exceeds the greatest authorized seconds value '${greatestSecondsValue}' due to an incorrect provided UNIX timestamp`;
}
// Convert the UNIX timestamp seconds part value (seconds elapsed since 01 january