增加非标准utc时区

This commit is contained in:
wen
2025-11-15 20:16:32 +08:00
parent d24873566d
commit dc23296425
7 changed files with 176 additions and 23 deletions

View File

@@ -1,5 +1,66 @@
#include "fontenum.h"
//时区表
const int Menu_timearea_array[75][2]=//31
{
{-12,0}, //0
{-11,0}, //1
{-10,0}, //2
{-9,1800},//3
{-9,0}, //4
{-8,0}, //5
{-7,0}, //6
{-6,0}, //7
{-5,0}, //8
{-4,1800},//9
{-4,0}, //10
{-3,1800},//11
{-3,0}, //12
{-2,1800},//13
{-2,0}, //14
{-1,0}, //15
//n+3的规律
{ 0,0}, //16
{ 0,1800},//17
{ 0,2700},//18
{ 1,0}, //19
{ 1,1800},//20
{ 1,2700},//21
{ 2,0}, //22
{ 2,1800},//23
{ 2,2700},//24
{ 3,0}, //25
{ 3,1800},//26//伊朗UTC+3:30东3.5区)
{ 3,2700},//27
{ 4,0}, //28
{ 4,1800},//29//阿富汗UTC+4:30东4.5区)
{ 4,2700},//30
{ 5,0}, //31
{ 5,1800},//32//印度 斯里兰卡UTC+5:30东5.5区)
{ 5,2700},//33//尼泊尔UTC+5:45东5.75区)
{ 6,0}, //34
{ 6,1800},//35//缅甸UTC+6:30东6.5区)
{ 6,2700},//36
{ 7,0}, //37
{ 7,1800},//38
{ 7,2700},//39
{ 8,0}, //40
{ 8,1800},//41
{ 8,2700},//42
{ 9,0}, //43
{ 9,1800},//44
{ 9,2700},//45
{10,0}, //46
{10,1800},//47
{10,2700},//48
{11,0}, //49
{11,1800},//50
{11,2700},//51
{12,0}, //52
{12,1800},//53
{12,2700},//54
};
const char *btns_chs[LANG_MAX][3]=
{