calaos / calaos_base

Calaos server
https://calaos.fr
GNU General Public License v3.0
160 stars 37 forks source link

Property Month of IO type InPlageHoraire does not work #137

Closed mifrey00 closed 6 years ago

mifrey00 commented 6 years ago

System: https://www.calaos.fr/download/experimental/calaos-os/raspberrypi/calaos-os-raspberrypi-v3.0-alpha5-0-gf476150-2017-08-15.tar.xz

The input is true whatever which months are selected.

Can be replicated with the input definition below that is always true although it should be always false.

<calaos:input months="000000000000" enabled="true" gui_type="time_range" id="input_87" io_type="input" name="Summer" type="InPlageHoraire" visible="false">
    <calaos:lundi>
        <calaos:plage start_hour="0" start_min="0" start_sec="0" start_type="0" start_offset="1" end_hour="23" end_min="59" end_sec="59" end_type="0" end_offset="1"/>
    </calaos:lundi>
    <calaos:mardi>
        <calaos:plage start_hour="0" start_min="0" start_sec="0" start_type="0" start_offset="1" end_hour="23" end_min="59" end_sec="59" end_type="0" end_offset="1"/>
    </calaos:mardi>
    <calaos:mercredi>
        <calaos:plage start_hour="0" start_min="0" start_sec="0" start_type="0" start_offset="1" end_hour="23" end_min="59" end_sec="59" end_type="0" end_offset="1"/>
    </calaos:mercredi>
    <calaos:jeudi>
        <calaos:plage start_hour="0" start_min="0" start_sec="0" start_type="0" start_offset="1" end_hour="23" end_min="59" end_sec="59" end_type="0" end_offset="1"/>
    </calaos:jeudi>
    <calaos:vendredi>
        <calaos:plage start_hour="0" start_min="0" start_sec="0" start_type="0" start_offset="1" end_hour="23" end_min="59" end_sec="59" end_type="0" end_offset="1"/>
    </calaos:vendredi>
    <calaos:samedi>
        <calaos:plage start_hour="0" start_min="0" start_sec="0" start_type="0" start_offset="1" end_hour="23" end_min="59" end_sec="59" end_type="0" end_offset="1"/>
    </calaos:samedi>
    <calaos:dimanche>
        <calaos:plage start_hour="0" start_min="0" start_sec="0" start_type="0" start_offset="1" end_hour="23" end_min="59" end_sec="59" end_type="0" end_offset="1"/>
    </calaos:dimanche>
</calaos:input>