File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1334,8 +1334,8 @@ def materialize_incremental(
1334
1334
provider = self ._get_provider ()
1335
1335
print (
1336
1336
f"{ Style .BRIGHT + Fore .GREEN } { feature_view .name } { Style .RESET_ALL } "
1337
- f" from { Style .BRIGHT + Fore .GREEN } { start_date .replace (microsecond = 0 ). astimezone ( )} { Style .RESET_ALL } "
1338
- f" to { Style .BRIGHT + Fore .GREEN } { end_date .replace (microsecond = 0 ). astimezone ( )} { Style .RESET_ALL } :"
1337
+ f" from { Style .BRIGHT + Fore .GREEN } { utils . make_tzaware ( start_date .replace (microsecond = 0 ))} { Style .RESET_ALL } "
1338
+ f" to { Style .BRIGHT + Fore .GREEN } { utils . make_tzaware ( end_date .replace (microsecond = 0 ))} { Style .RESET_ALL } :"
1339
1339
)
1340
1340
1341
1341
def tqdm_builder (length ):
@@ -2456,14 +2456,14 @@ def _print_materialization_log(
2456
2456
if start_date :
2457
2457
print (
2458
2458
f"Materializing { Style .BRIGHT + Fore .GREEN } { num_feature_views } { Style .RESET_ALL } feature views"
2459
- f" from { Style .BRIGHT + Fore .GREEN } { start_date .replace (microsecond = 0 ). astimezone ( )} { Style .RESET_ALL } "
2460
- f" to { Style .BRIGHT + Fore .GREEN } { end_date .replace (microsecond = 0 ). astimezone ( )} { Style .RESET_ALL } "
2459
+ f" from { Style .BRIGHT + Fore .GREEN } { utils . make_tzaware ( start_date .replace (microsecond = 0 ))} { Style .RESET_ALL } "
2460
+ f" to { Style .BRIGHT + Fore .GREEN } { utils . make_tzaware ( end_date .replace (microsecond = 0 ))} { Style .RESET_ALL } "
2461
2461
f" into the { Style .BRIGHT + Fore .GREEN } { online_store } { Style .RESET_ALL } online store.\n "
2462
2462
)
2463
2463
else :
2464
2464
print (
2465
2465
f"Materializing { Style .BRIGHT + Fore .GREEN } { num_feature_views } { Style .RESET_ALL } feature views"
2466
- f" to { Style .BRIGHT + Fore .GREEN } { end_date .replace (microsecond = 0 ). astimezone ( )} { Style .RESET_ALL } "
2466
+ f" to { Style .BRIGHT + Fore .GREEN } { utils . make_tzaware ( end_date .replace (microsecond = 0 ))} { Style .RESET_ALL } "
2467
2467
f" into the { Style .BRIGHT + Fore .GREEN } { online_store } { Style .RESET_ALL } online store.\n "
2468
2468
)
2469
2469
You can’t perform that action at this time.
0 commit comments