Page 1 of 1

Is there a problem with the CountDown Block?

Posted: Thu Dec 21, 2017 9:04 pm
by BlueBear
I edited the setup for this block and see that the Spring and Summer dates I entered show as counting up not down?

See right column about half way down at http://www.sanfordweather.com

:?:

Re: Is there a problem with the CountDown Block?

Posted: Thu Dec 21, 2017 10:22 pm
by Jachym
If the gauges count up it means you entered a date in the past

Re: Is there a problem with the CountDown Block?

Posted: Thu Dec 21, 2017 10:46 pm
by BlueBear
Here's what I entered

2017-12-25 00:00;2018-01-01 00:00;2018-03-20 11.16;2018-06-21 05.08

The first two count down, the second 2 count up??? Am I blind or what?

Re: Is there a problem with the CountDown Block?

Posted: Thu Dec 21, 2017 11:33 pm
by Gus
Try replacing the periods . in the time with colons :
2018-03-20 11.16;2018-06-21 05.08

Re: Is there a problem with the CountDown Block?

Posted: Thu Dec 21, 2017 11:41 pm
by BlueBear
Thanks Gus, these old eyes of mine sometimes have problems seeing stuff like that on the screeen!
Fixed

Bill

Re: Is there a problem with the CountDown Block?

Posted: Fri Dec 22, 2017 1:36 pm
by Jachym
Hi,
thanks Gus, yes in PHP you must use a colon, not a period.