Novosibirsk time-zone.
This commit is contained in:
parent
350caee808
commit
b852cbdc80
@ -130,6 +130,7 @@
|
|||||||
<option value="16">ACST</option>
|
<option value="16">ACST</option>
|
||||||
<option value="17">ACST/ACDT</option>
|
<option value="17">ACST/ACDT</option>
|
||||||
<option value="18">HST (Hawaii)</option>
|
<option value="18">HST (Hawaii)</option>
|
||||||
|
<option value="19">NOVT (Novosibirsk)</option>
|
||||||
</select><br>
|
</select><br>
|
||||||
UTC offset: <input name="UO" type="number" min="-65500" max="65500" required> seconds (max. 18 hours)<br>
|
UTC offset: <input name="UO" type="number" min="-65500" max="65500" required> seconds (max. 18 hours)<br>
|
||||||
Current local time is <span class="times">unknown</span>.<br>
|
Current local time is <span class="times">unknown</span>.<br>
|
||||||
|
@ -352,30 +352,31 @@ US-MST/MDT</option><option value="7">US-AZ</option><option value="8">US-PST/PDT
|
|||||||
</option><option value="13">North Korea</option><option value="14">IST (India)
|
</option><option value="13">North Korea</option><option value="14">IST (India)
|
||||||
</option><option value="15">CA-Saskatchewan</option><option value="16">ACST
|
</option><option value="15">CA-Saskatchewan</option><option value="16">ACST
|
||||||
</option><option value="17">ACST/ACDT</option><option value="18">HST (Hawaii)
|
</option><option value="17">ACST/ACDT</option><option value="18">HST (Hawaii)
|
||||||
</option></select><br>UTC offset: <input name="UO" type="number" min="-65500"
|
</option><option value="19">NOVT (Novosibirsk)</option></select><br>UTC offset:
|
||||||
max="65500" required> seconds (max. 18 hours)<br>Current local time is <span
|
<input name="UO" type="number" min="-65500" max="65500" required>
|
||||||
class="times">unknown</span>.<br>Latitude (N): <input name="LT" type="number"
|
seconds (max. 18 hours)<br>Current local time is <span class="times">unknown
|
||||||
class="xl" min="-66.6" max="66.6" step="0.01"> Longitude (E): <input name="LN"
|
</span>.<br>Latitude (N): <input name="LT" type="number" class="xl" min="-66.6"
|
||||||
type="number" class="xl" min="-180" max="180" step="0.01"><div id="sun"
|
max="66.6" step="0.01"> Longitude (E): <input name="LN" type="number"
|
||||||
class="times"></div><h3>Clock</h3>Clock Overlay: <select name="OL"
|
class="xl" min="-180" max="180" step="0.01"><div id="sun" class="times"></div>
|
||||||
onchange="Cs()"><option value="0" id="cn" selected="selected">None</option>
|
<h3>Clock</h3>Clock Overlay: <select name="OL" onchange="Cs()"><option
|
||||||
<option value="1" id="ca">Analog Clock</option><option value="2">
|
value="0" id="cn" selected="selected">None</option><option value="1" id="ca">
|
||||||
Single Digit Clock</option><option value="3" id="cc">Cronixie Clock</option>
|
Analog Clock</option><option value="2">Single Digit Clock</option><option
|
||||||
</select><br><div id="coc">First LED: <input name="O1" type="number" min="0"
|
value="3" id="cc">Cronixie Clock</option></select><br><div id="coc">First LED:
|
||||||
max="255" required> Last LED: <input name="O2" type="number" min="0" max="255"
|
<input name="O1" type="number" min="0" max="255" required> Last LED: <input
|
||||||
required><br><div id="cac">12h LED: <input name="OM" type="number" min="0"
|
name="O2" type="number" min="0" max="255" required><br><div id="cac">12h LED:
|
||||||
max="255" required><br>Show 5min marks: <input type="checkbox" name="O5"><br>
|
<input name="OM" type="number" min="0" max="255" required><br>Show 5min marks:
|
||||||
</div>Seconds (as trail): <input type="checkbox" name="OS"><br></div><div
|
<input type="checkbox" name="O5"><br></div>Seconds (as trail): <input
|
||||||
id="ccc">Cronixie Display: <input name="CX" maxlength="6"><br>
|
type="checkbox" name="OS"><br></div><div id="ccc">Cronixie Display: <input
|
||||||
Cronixie Backlight: <input type="checkbox" name="CB"><br></div>Countdown Mode:
|
name="CX" maxlength="6"><br>Cronixie Backlight: <input type="checkbox"
|
||||||
<input type="checkbox" name="CE"><br>Countdown Goal:<br>Year: 20 <input
|
name="CB"><br></div>Countdown Mode: <input type="checkbox" name="CE"><br>
|
||||||
name="CY" class="small" type="number" min="0" max="99" required> Month: <input
|
Countdown Goal:<br>Year: 20 <input name="CY" class="small" type="number"
|
||||||
name="CI" class="small" type="number" min="1" max="12" required> Day: <input
|
min="0" max="99" required> Month: <input name="CI" class="small" type="number"
|
||||||
name="CD" class="small" type="number" min="1" max="31" required><br>Hour: <input
|
min="1" max="12" required> Day: <input name="CD" class="small" type="number"
|
||||||
name="CH" class="small" type="number" min="0" max="23" required> Minute: <input
|
min="1" max="31" required><br>Hour: <input name="CH" class="small"
|
||||||
name="CM" class="small" type="number" min="0" max="59" required> Second: <input
|
type="number" min="0" max="23" required> Minute: <input name="CM" class="small"
|
||||||
name="CS" class="small" type="number" min="0" max="59" required><br><h3>
|
type="number" min="0" max="59" required> Second: <input name="CS" class="small"
|
||||||
Macro presets</h3><b>Macros have moved!</b><br><i>
|
type="number" min="0" max="59" required><br><h3>Macro presets</h3><b>
|
||||||
|
Macros have moved!</b><br><i>
|
||||||
Presets now also can be used as macros to save both JSON and HTTP API commands.
|
Presets now also can be used as macros to save both JSON and HTTP API commands.
|
||||||
<br>Just enter the preset id below!</i> <i>
|
<br>Just enter the preset id below!</i> <i>
|
||||||
Use 0 for the default action instead of a preset</i><br>Alexa On/Off Preset:
|
Use 0 for the default action instead of a preset</i><br>Alexa On/Off Preset:
|
||||||
|
@ -40,6 +40,7 @@ Timezone* tz;
|
|||||||
#define TZ_AUSTRALIA_NORTHERN 16
|
#define TZ_AUSTRALIA_NORTHERN 16
|
||||||
#define TZ_AUSTRALIA_SOUTHERN 17
|
#define TZ_AUSTRALIA_SOUTHERN 17
|
||||||
#define TZ_HAWAII 18
|
#define TZ_HAWAII 18
|
||||||
|
#define TZ_NOVOSIBIRSK 19
|
||||||
#define TZ_INIT 255
|
#define TZ_INIT 255
|
||||||
|
|
||||||
byte tzCurrent = TZ_INIT; //uninitialized
|
byte tzCurrent = TZ_INIT; //uninitialized
|
||||||
@ -140,6 +141,11 @@ void updateTimezone() {
|
|||||||
tcrStandard = tcrDaylight;
|
tcrStandard = tcrDaylight;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case TZ_NOVOSIBIRSK : {
|
||||||
|
tcrDaylight = {Last, Sun, Mar, 1, 420}; //CST = UTC + 7 hours
|
||||||
|
tcrStandard = tcrDaylight;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tzCurrent = currentTimezone;
|
tzCurrent = currentTimezone;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2109241
|
#define VERSION 2109261
|
||||||
|
|
||||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||||
//#define WLED_USE_MY_CONFIG
|
//#define WLED_USE_MY_CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user