Skip to content

Commit

Permalink
Merge pull request #3299 from 1c-syntax/translations_docs-diagnostics…
Browse files Browse the repository at this point in the history
…-magicdate-md--develop_en

Updates for file docs/diagnostics/MagicDate.md in en
  • Loading branch information
theshadowco authored Jun 4, 2024
2 parents 945317c + b166bce commit 157815c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/en/diagnostics/MagicDate.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,16 @@ If now < PredictedDate Then
HoverBoardIsReal = Undefined;
EndIf;
```

Also, a good solution is to use a special method with "telling name" that returns
constant

```bsl
Function DateInventionHover()
Return '20151021';
EndFunction
If CurrentDate < DateInventionHover() Then
HoverBoardWillBeInvented = Undefined;
EndIf;
```

0 comments on commit 157815c

Please sign in to comment.