Seite 1 von 1

Board Greetings to Xmas and New Year

Verfasst: So 1. Apr 2018, 07:43
von Hartenheer
Does Board Greetings to Xmas and New Year no longer work on 3.2?

I set up early this year

Code: Alles auswählen

             'S_PASEN'              => date("m") == 03 && date ("d") > 31 && date ("d") < 03,
, but I no longer work.
What am I doing wrong?

Last year it still works well.

Re: Board Greetings to Xmas and New Year

Verfasst: So 1. Apr 2018, 09:26
von Kirk
That can not work.
Your code says month March is greater than 31 less than 03

Re: Board Greetings to Xmas and New Year

Verfasst: So 1. Apr 2018, 09:34
von Hartenheer
How do I fill it in for Easter?

Re: Board Greetings to Xmas and New Year

Verfasst: So 1. Apr 2018, 11:38
von Hartenheer
Found, so stupid of me

It was easy to enter 00 as the first date

Re: Board Greetings to Xmas and New Year

Verfasst: So 1. Apr 2018, 11:41
von Kirk
Easter is a movable feast
The date must be changed every year.
For this year: date("m") == 03 && date ("d") > 29 || date("m") == 04 && date ("d") < 03,
It will be displayed from March 30th to April 2nd.