Skip to content

Conversation

@mbertrand
Copy link
Member

What are the relevant tickets?

N/A

Description (What does it do?)

Tries to parse the date and time together instead of individually, which was causing the time range DST offset if any to be applied based on the current ddate.

Screenshots (if appropriate):

  • Desktop screenshots
  • Mobile width screenshots

How can this be tested?

All tests should pass

@mbertrand mbertrand added the Needs Review An open Pull Request that is ready for review label Nov 4, 2024
datetime: The parsed datetime object
"""
dt_utc = None
log.error(text_date)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@rhysyngsun rhysyngsun self-assigned this Nov 4, 2024
@rhysyngsun rhysyngsun added Waiting on author and removed Needs Review An open Pull Request that is ready for review labels Nov 4, 2024
@mbertrand mbertrand added Needs Review An open Pull Request that is ready for review and removed Waiting on author labels Nov 4, 2024
Copy link
Contributor

@rhysyngsun rhysyngsun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbertrand mbertrand merged commit 260f98a into main Nov 4, 2024
11 checks passed
@rhysyngsun rhysyngsun deleted the mb/fix_date_dst branch November 4, 2024 20:49
This was referenced Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review An open Pull Request that is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants