diff --git a/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/MagicDateDiagnostic.java b/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/MagicDateDiagnostic.java index 37ae8273d59..362eace6414 100644 --- a/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/MagicDateDiagnostic.java +++ b/src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/MagicDateDiagnostic.java @@ -65,7 +65,7 @@ public class MagicDateDiagnostic extends AbstractVisitorDiagnostic { private static final Pattern nonNumberPattern = CaseInsensitivePattern.compile( "\\D" ); - public static final int MAX_YEAR_BY_1C = 3999; + public static final int MAX_YEAR_BY_1C = 9999; @DiagnosticParameter( type = String.class,