Closed MartinKalema closed 3 weeks ago
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 30.30%. Comparing base (
ec293ad
) to head (8b1bfe0
).
WHAT DOES THIS PR DO?
[x] Enhances Timezone Awareness:
[x] Improves Function Documentation:
[x] Streamlines Date Conversion Logic:
DETAILED DESCRIPTION OF CHANGES
Timezone Awareness:
replace(tzinfo=timezone.utc)
to datetime parsing functions to ensure that all datetime objects are timezone-aware and set to UTC.Function Documentation:
Date Conversion Functions:
str_to_date
,date_to_str
,date_to_str_hours
, anddate_to_str_days
to ensure consistent formatting and timezone handling.Summary by CodeRabbit
New Features
Refactor
datetime.now(timezone.utc)
instead ofdatetime.utcnow()
.Improvements