-
Notifications
You must be signed in to change notification settings - Fork 501
issue/10107 #3025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue/10107 #3025
Conversation
| return; | ||
| } | ||
| Entry.EXPANSION_BLOCK.weather.date = new Date(); | ||
| Entry.EXPANSION_BLOCK.weather.localDate = new Date().toLocaleDateString().replaceAll('.', '').replaceAll(' ', '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| return; | ||
| } | ||
| Entry.EXPANSION_BLOCK.weather.date = new Date(); | ||
| Entry.EXPANSION_BLOCK.weather.localDate = new Date().toLocaleDateString().replaceAll('.', '').replaceAll(' ', '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace .toLocaleDateString().replaceAll('.',·'').replaceAll('·',·'') with ⏎············.toLocaleDateString()⏎············.replaceAll('.',·'')⏎············.replaceAll('·',·'');
| Entry.EXPANSION_BLOCK.weather.localDate = new Date().toLocaleDateString().replaceAll('.', '').replaceAll(' ', '') | |
| Entry.EXPANSION_BLOCK.weather.localDate = new Date() | |
| .toLocaleDateString() | |
| .replaceAll('.', '') | |
| .replaceAll(' ', ''); |
| return; | ||
| } | ||
| Entry.EXPANSION_BLOCK.weather.date = new Date(); | ||
| Entry.EXPANSION_BLOCK.weather.localDate = new Date().toLocaleDateString().replaceAll('.', '').replaceAll(' ', '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
| Entry.EXPANSION_BLOCK.weather.localDate = new Date().toLocaleDateString().replaceAll('.', '').replaceAll(' ', '') | |
| Entry.EXPANSION_BLOCK.weather.localDate = new Date().toLocaleDateString().replaceAll('.', '').replaceAll(' ', ''); |
#10107