File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ mod decl {
179
179
#[ cfg( target_env = "msvc" ) ]
180
180
#[ cfg( not( target_arch = "wasm32" ) ) ]
181
181
#[ pyattr]
182
- fn timezone ( ) -> i32 {
182
+ fn timezone ( _vm : & VirtualMachine ) -> i32 {
183
183
let info = get_tz_info ( ) ;
184
184
// https://users.rust-lang.org/t/accessing-tzname-and-similar-constants-in-windows/125771/3
185
185
( info. Bias + info. StandardBias ) * 60
@@ -196,7 +196,7 @@ mod decl {
196
196
#[ cfg( target_env = "msvc" ) ]
197
197
#[ cfg( not( target_arch = "wasm32" ) ) ]
198
198
#[ pyattr]
199
- fn daylight ( ) -> i32 {
199
+ fn daylight ( _vm : & VirtualMachine ) -> i32 {
200
200
let info = get_tz_info ( ) ;
201
201
// https://users.rust-lang.org/t/accessing-tzname-and-similar-constants-in-windows/125771/3
202
202
( info. StandardBias != info. DaylightBias ) as i32
You can’t perform that action at this time.
0 commit comments