mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Function to detect RRULE exceptions in an event.
This commit is contained in:
parent
ef37ca3212
commit
00cc8c2635
@ -184,3 +184,8 @@ END;
|
||||
' LANGUAGE 'plpgsql' IMMUTABLE STRICT;
|
||||
|
||||
|
||||
CREATE or REPLACE FUNCTION event_has_exceptions( TEXT ) RETURNS BOOLEAN AS '
|
||||
SELECT $1 ~ ''\nRECURRENCE-ID(;TZID=[^:]+)?:[[:space:]]*[[:digit:]]{8}(T[[:digit:]]{6})?''
|
||||
' LANGUAGE 'sql' IMMUTABLE STRICT;
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user