Kristjan ESPERANTO
d276a7ddb9
Use template literals instead of string concatenation ( #3066 )
...
We have used it inconsistently till now. Template literals are more
modern and easier to maintain in my opinion.
Because that's a large amount of changes, here's a way to reproduce it:
I added the rule `"prefer-template": "error"` to the `.eslintrc.json`
and did an autofix. Since this caused a new problem in line 409 of
`newsfeed.js`, I reversed it in that line and also removed the rule from
the eslint config file.
The rule is described here:
https://eslint.org/docs/latest/rules/prefer-template
Note: I've played around with some other linter rules as well, and some
seem to point to some specific, non-cosmetic, issues. But before I dive
even deeper and then introduce even bigger and hardly understandable
changes at once, I thought I'd start with this simple cosmetic rule.
2023-03-19 14:32:23 +01:00
Sam Detweiler
11d17dd2c0
fix typo, duplcate line
2022-09-06 13:29:08 -05:00
Sam Detweiler
174da38cc8
run prettier
2022-09-05 15:02:16 -05:00
Sam Detweiler
032f7ac299
fix events with rrule byweekday
2022-09-05 14:13:46 -05:00
buxxi
17c14e137e
Make the calendar show the whole multi day event with how far it has progressed
2022-08-02 16:45:37 +02:00
Jonathan Kolb
f1f2a61dc8
Broadcast all calendar events while still honoring global and per-calendar maximumEntries
2022-07-03 13:17:18 -04:00
Sam Detweiler
1f4ac82495
add changelog for #2868
2022-06-28 08:05:13 -05:00
Sam Detweiler
0baf58f3fd
fix regression calendar.maximumEntries not used
2022-06-28 08:01:28 -05:00
Jon Kolb
d588fab981
Don't adjust startDate for full day events if endDate is in the past
2022-03-02 22:09:15 -05:00
Kristjan SCHMIDT
a5668b1b99
Magic Mirror -> MagicMirror²
...
Consistent spelling
2022-01-26 23:09:26 +01:00
Jonathan Kolb
0aee42255f
Return full list of events from createEventList for broadcasting
2022-01-17 10:07:12 -05:00
Sam Detweiler
fc14431147
fix date correction comparison for fulldate, just less than, not less or equal
2021-12-26 16:40:17 +01:00
Sam Detweiler
f75ca0c399
after prettier
2021-12-25 02:22:42 +11:00
Sam Detweiler
b3ef4b40c5
fix calendar across timezone, showEnd/FullDay
2021-12-25 02:10:48 +11:00
Julian Dinter
cfff2ad72b
Changed comment regarding "ical.js" and "node-ical".
2021-08-25 17:28:37 +02:00
Julian Dinter
83b8cc6729
Ran npm run lint:prettier..
2021-08-22 14:23:10 +02:00
Julian Dinter
878c0be727
[Fix] start time of calendar event gets corrected by time zone offset.
2021-08-22 14:16:02 +02:00
Julian Dinter
e7f06f5c0c
Removed duplicated and thus superfluous debug messages.
2021-08-22 14:06:24 +02:00
Julian Dinter
a1fc38c5fe
Prettified and added debug messages.
2021-08-22 13:57:24 +02:00
rejas
4b1c7da171
Update jsdoc
2021-05-19 11:12:56 +02:00
Sam Detweiler
d11e4e5c92
refix #2483 , recurring FULL Day event, start date before 2007
2021-03-23 08:44:14 -05:00
Sam Detweiler
2b940c9cfb
fix formatting
2021-03-19 10:42:14 -05:00
Sam Detweiler
b6f4737ecc
fix 2488, west of UTC day shift
2021-03-19 10:32:04 -05:00
Sam Detweiler
4f9fc032e5
fix for issue 2483, calendar shows wrong date, recurring start before 2007
2021-03-17 07:36:03 -05:00
rejas
d3d64d3ca0
Cleanups
2021-03-14 10:40:14 +01:00
rejas
c2f5d038de
Move filter function into utils class too
2021-03-14 09:03:12 +01:00
rejas
0b37ed072c
Refactor fetcher methods into util class
2021-03-14 08:53:40 +01:00