variable [actual_daylength_standard_hh:mm] does not work in

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

variable [actual_daylength_standard_hh:mm] does not work in

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7953
Joined: Mon Oct 01, 2007 10:51 pm

Re:variable [actual_daylength_standard_hh:mm] does no longer

Post 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
Post Reply