Skip to content

Commit 8f12bfe

Browse files
committed
0.8.137
* fix storage of timezone and region #1723
1 parent d607bf1 commit 8f12bfe

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

src/CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Development Changes
22

3+
## 0.8.137 - 2024-08-13
4+
* fix storage of timezone and region #1723
5+
36
## 0.8.136 - 2024-08-12
47
* fix save settings for ESP32 devices #1720
58

src/defines.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//-------------------------------------
1414
#define VERSION_MAJOR 0
1515
#define VERSION_MINOR 8
16-
#define VERSION_PATCH 136
16+
#define VERSION_PATCH 137
1717
//-------------------------------------
1818
typedef struct {
1919
uint8_t ch;

src/web/html/setup.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -700,14 +700,6 @@
700700
el.push(mlCb("protMask" + i, a[i], chk))
701701
}
702702
d.append(...el);
703-
704-
var tz = []
705-
for(i = 0; i < 24; i += 0.5)
706-
tz.push([i, ((i-12 > 0) ? "+" : "") + String(i-12)]);
707-
document.getElementById("timezone").append(sel("timezone", tz, obj.timezone + 12))
708-
var region = [[0, "Europe (860 - 870 MHz)"], [1, "USA, Indonesia (905 - 925 MHz)"], [2, "Brazil (915 - 928 MHz)"]]
709-
document.getElementById("region").append(sel("region", region, obj.region))
710-
711703
}
712704

713705
function parseGeneric(obj) {
@@ -723,6 +715,13 @@
723715

724716
ts = obj.ts_now;
725717
window.setInterval("tick()", 1000);
718+
719+
var tz = []
720+
for(i = 0; i < 24; i += 0.5)
721+
tz.push([i, ((i-12 > 0) ? "+" : "") + String(i-12)]);
722+
document.getElementById("timezone").append(sel("timezone", tz, obj.timezone + 12))
723+
var region = [[0, "Europe (860 - 870 MHz)"], [1, "USA, Indonesia (905 - 925 MHz)"], [2, "Brazil (915 - 928 MHz)"]]
724+
document.getElementById("region").append(sel("region", region, obj.region))
726725
}
727726

728727
function parseStaticIp(obj) {

0 commit comments

Comments
 (0)