Skip to content

Commit fcc34b0

Browse files
Copilotstritti
andcommitted
Fix EditorConfig violation: proper 2-space indentation for array initialization
Co-authored-by: stritti <184547+stritti@users.noreply.github.com>
1 parent 83ed96d commit fcc34b0

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

src/TimeClientHelper.cpp

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,18 @@ Timezone Japan(JST, JST);
5757
TimeChangeRule CST_CHINA = {"CST", First, Sun, Mar, 0, 8 * 60}; // UTC + 8 hours
5858
Timezone China(CST_CHINA, CST_CHINA);
5959

60-
TimeZoneInfo _timezones[10] = {{"Central European", &Europe},
61-
{"Eastern European", &EasternEurope},
62-
{"Western European", &WesternEurope},
63-
{"US Eastern", &USEastern},
64-
{"US Central", &USCentral},
65-
{"US Mountain", &USMountain},
66-
{"US Pacific", &USPacific},
67-
{"Australian Eastern", &AustralianEastern},
68-
{"Japan", &Japan},
69-
{"China", &China}};
60+
TimeZoneInfo _timezones[10] = {
61+
{"Central European", &Europe},
62+
{"Eastern European", &EasternEurope},
63+
{"Western European", &WesternEurope},
64+
{"US Eastern", &USEastern},
65+
{"US Central", &USCentral},
66+
{"US Mountain", &USMountain},
67+
{"US Pacific", &USPacific},
68+
{"Australian Eastern", &AustralianEastern},
69+
{"Japan", &Japan},
70+
{"China", &China}
71+
};
7072

7173
int _selectedTimezoneIndex = 0; // Default to Central European Time
7274

0 commit comments

Comments
 (0)