Skip to content

Fix #1656 Сериализация дат и приведение точности дат к 1С - #1721

Open
EvilBeaver wants to merge 3 commits into
developfrom
feature/date-compatibility
Open

Fix #1656 Сериализация дат и приведение точности дат к 1С#1721
EvilBeaver wants to merge 3 commits into
developfrom
feature/date-compatibility

Приведение точности дат к 1С.

ee8dfb4
Select commit
Loading
Failed to load commit list.
sonar.openbsl.ru qa-bot / SonarQube Code Analysis succeeded Aug 16, 2026 in 1m 0s

Annotations

Check warning on line 65 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L65

Method has 9 parameters, which is greater than the 7 authorized.

Check notice on line 305 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L305

Remove this unnecessary cast to 'DateTime'.

Check failure on line 179 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L179

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

Check notice on line 65 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L65

Member 'ReadJSON' does not access instance data and can be marked as static