Page 1 of 1

variable [actual_daylength_standard_hh:mm] does not work in

Posted: Mon Jul 21, 2008 7:47 pm
by wfpost
Since updating to 2.6a
the variable [actual_daylength_standard_hh:mm] entered in my website´s html does not longer show the correct result, but an mm.
(see screenshot)
meteograph.cgi?text=all shows the correct number though:ohmy:

actual_daylength_standard_hours 15.44
actual_daylength_standard_minutes 927
actual_daylength_standard_hh:mm 15:27
actual_daylength_civiltwilight_hours 16.72
actual_daylength_civiltwilight_minutes 1003
actual_daylength_civiltwilight_hh:mm 16:43

Image

Re:variable [actual_daylength_standard_hh:mm] does no longer

Posted: Wed Jul 23, 2008 12:16 am
by admin
Yes, I have overlooked this. ":" has now a special meaning when used in a variable name. Variable will be renamed to "actual_daylength_standard_hhmm" with the next soon coming update.

I hope changing you code will not be too much of a hassle.

Same changes will be applied to:
actual_daylength_civiltwilight_hh:mm
actual_daylength_nauticaltwilight_hh:mm