File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -118,20 +118,21 @@ def get_time_difference(time_zone_id: str) -> int:
118
118
# Doesn't deal with DST. We will be conservative and only trade 1 hour
119
119
# after and 1 hour before
120
120
# confusingly, IB seem to have changed their time zone codes in 2020
121
+ # some of these are legacy codes which could be removed
121
122
time_diff_dict = {
122
123
"CST (Central Standard Time)" : 6 ,
123
124
"MET (Middle Europe Time)" : - 1 ,
124
125
"EST (Eastern Standard Time)" : 5 ,
125
- "JST (Japan Standard Time)" : - 8 ,
126
+ "JST (Japan Standard Time)" : - 9 ,
126
127
"US/Eastern" : 5 ,
127
128
"MET" : - 1 ,
128
129
"EST" : 5 ,
129
- "JST" : - 8 ,
130
- "Japan" : - 8 ,
130
+ "JST" : - 9 ,
131
+ "Japan" : - 9 ,
131
132
"US/Central" : 6 ,
132
133
"GB-Eire" : 0 ,
133
- "Hongkong" : - 7 ,
134
- "Australia/NSW" : - 10 ,
134
+ "Hongkong" : - 8 ,
135
+ "Australia/NSW" : - 11 ,
135
136
"" : 0 ,
136
137
}
137
138
GMT_offset_hours = get_GMT_offset_hours ()
You can’t perform that action at this time.
0 commit comments