Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding all timezone offsets #21

Merged
merged 10 commits into from
Sep 9, 2024
Merged

Conversation

DrewJoseyGit
Copy link

@DrewJoseyGit DrewJoseyGit commented Aug 29, 2024

JIRA Ticket

https://ihm-it.atlassian.net/browse/IHRACP-7339

Description

Major Changes:

Adding timezone offsets for each timezone

Since pre-commit was not installed, this push did a lot of re-formatting. For the sake of this PR, Lines 276-337 in Item.py are the only files that were functionally updated.

  • List related PRs if applicable.

@DrewJoseyGit DrewJoseyGit changed the title adding new zealand Adding all timezone offsets Sep 3, 2024
@DrewJoseyGit DrewJoseyGit changed the base branch from master to develop September 3, 2024 18:45
setup.py Outdated
long_description = f.read()
released_version = os.environ.get('VERSION')
released_version = "1.9.2dev171"
Copy link

Choose a reason for hiding this comment

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

please revert this

Copy link
Author

Choose a reason for hiding this comment

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

It kept producing "already existing" versions, so I had to hard code it. Obviously I won't be deploying with that dev version.

pypodcastparser/Item.py Outdated Show resolved Hide resolved
Copy link

@daleyp24 daleyp24 left a comment

Choose a reason for hiding this comment

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

please address comments

Copy link

@IanNoyes IanNoyes left a comment

Choose a reason for hiding this comment

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

Tested with multiple feeds and the start_date value end up matching what we already have in prod except for the newly added timezones and the -0000 timezone which appears to have parsed incorrectly anyways.

Will need to be ready for a spike in updated shows when this happens as it exposes the possibility to alter the md5 calculations.

@DrewJoseyGit DrewJoseyGit merged commit f54a22d into develop Sep 9, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants