forked from anxdpanic/plugin.video.youtube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update datetime handling for utcnow deprecation
- All datetime values are now stored internally as timezone aware objects with a UTC timezone - Local datetime values are now converted to timezone aware objects with a local timezone rather than using a fixed offset - Infolabels strip off microseconds and tzinfo as different Kodi getter/setter methods handle such values incorrectly - Old behaviour is retained for backwards compatibility - Fix (remove) incorrect empty string default fallback for lastplayed - Fix typo in format string for date infolabel used for Kodi 18 - Remove unnecessary datetime parsing for plugin_created_date
- Loading branch information
Showing
7 changed files
with
151 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.