mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Correct quoting.
This commit is contained in:
parent
9683df685b
commit
be3f2ab3e3
@ -182,10 +182,10 @@ BEGIN
|
||||
loopcount := 100; -- Desirable to stop an infinite loop if there is something we cannot handle
|
||||
LOOP
|
||||
-- RAISE NOTICE ''Testing date: %'', our_answer;
|
||||
IF frequency = 'DAILY' THEN
|
||||
IF frequency = ''DAILY'' THEN
|
||||
IF byday IS NOT NULL THEN
|
||||
LOOP
|
||||
dow = substring( to_char( our_answer, 'DY' ) for 2);
|
||||
dow = substring( to_char( our_answer, ''DY'' ) for 2);
|
||||
EXIT WHEN byday ~* dow;
|
||||
-- Increment for our next time through the loop...
|
||||
our_answer := our_answer + (length::text || units)::interval;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user