mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-25 17:25:14 +03:00
Convert GPS time zone to hours
This commit is contained in:
parent
b8412534f4
commit
a1b82fed19
2 changed files with 14 additions and 1 deletions
|
@ -262,6 +262,8 @@ var Settings = (function () {
|
|||
'msec-nc' : 'ms', // Milliseconds, but not converted.
|
||||
'dsec' : 'ds',
|
||||
'sec' : 's',
|
||||
'mins' : 'm',
|
||||
'hours' : 'h',
|
||||
// Angles
|
||||
'deg' : '°',
|
||||
'decideg' : 'deci°',
|
||||
|
@ -304,6 +306,8 @@ var Settings = (function () {
|
|||
'msec-nc' : 'Milliseconds',
|
||||
'dsec' : 'Deciseconds',
|
||||
'sec' : 'Seconds',
|
||||
'mins' : 'Minutes',
|
||||
'hours' : 'Hours',
|
||||
// Angles
|
||||
'deg' : 'Degrees',
|
||||
'decideg' : 'DeciDegrees',
|
||||
|
@ -377,6 +381,9 @@ var Settings = (function () {
|
|||
'dsec' : {
|
||||
'sec' : 10
|
||||
},
|
||||
'mins' : {
|
||||
'hours' : 60
|
||||
},
|
||||
'decideg' : {
|
||||
'deg' : 10
|
||||
},
|
||||
|
@ -402,6 +409,7 @@ var Settings = (function () {
|
|||
'v-cms' : 'fts',
|
||||
'msec' : 'sec',
|
||||
'dsec' : 'sec',
|
||||
'mins' : 'hours',
|
||||
'decadegps' : 'degps',
|
||||
'decideg' : 'deg',
|
||||
'decideg-lrg' : 'deg',
|
||||
|
@ -415,6 +423,7 @@ var Settings = (function () {
|
|||
'v-cms' : 'ms',
|
||||
'msec' : 'sec',
|
||||
'dsec' : 'sec',
|
||||
'mins' : 'hours',
|
||||
'decadegps' : 'degps',
|
||||
'decideg' : 'deg',
|
||||
'decideg-lrg' : 'deg',
|
||||
|
@ -431,6 +440,7 @@ var Settings = (function () {
|
|||
'decideg-lrg' : 'deg',
|
||||
'msec' : 'sec',
|
||||
'dsec' : 'sec',
|
||||
'mins' : 'hours',
|
||||
'decidegc' : 'degc',
|
||||
},
|
||||
3:{ //UK
|
||||
|
@ -444,6 +454,7 @@ var Settings = (function () {
|
|||
'decideg-lrg' : 'deg',
|
||||
'msec' : 'sec',
|
||||
'dsec' : 'sec',
|
||||
'mins' : 'hours',
|
||||
'decidegc' : 'degc',
|
||||
},
|
||||
4: { //General aviation
|
||||
|
@ -457,11 +468,13 @@ var Settings = (function () {
|
|||
'decideg-lrg' : 'deg',
|
||||
'msec' : 'sec',
|
||||
'dsec' : 'sec',
|
||||
'mins' : 'hours',
|
||||
'decidegc' : 'degc',
|
||||
},
|
||||
default: { //show base units
|
||||
'decadegps' : 'degps',
|
||||
'decideg-lrg' : 'deg',
|
||||
'mins' : 'hours',
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<label for="gps_use_galileo"><span data-i18n="configurationGPSUseGalileo"></span></label>
|
||||
</div>
|
||||
<div class="number">
|
||||
<input type="number" id="tzOffset" data-setting="tz_offset" data-setting-multiplier="1" step="1" min="-1440" max="1440" />
|
||||
<input type="number" id="tzOffset" data-setting="tz_offset" data-unit="mins" data-setting-multiplier="1" step="1" min="-1440" max="1440" />
|
||||
<label for="tzOffset"><span data-i18n="tzOffset"></span></label>
|
||||
<div for="tzOffset" class="helpicon cf_tip" data-i18n_title="tzOffsetHelp"></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue