
noreply at mythtv
Sep 1, 2012, 2:29 PM
Post #1 of 1
(61 views)
Permalink
|
|
mythtv branch master updated by wagnerrp. v0.26-rc-18-gb393cbc
|
|
The branch, master has been updated on the mythtv repository by gitolite user wagnerrp. via b393cbc969f26c470e0ae38e48d9780b67dad604 (commit) from f830b841939f9972438d30fc59af5a011f570760 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b393cbc969f26c470e0ae38e48d9780b67dad604 Author: Raymond Wagner <rwagner [at] mythtv> at Sat, 1 Sep 2012 17:16:10 -0400 Committer: Raymond Wagner <rwagner [at] mythtv> at Sat, 1 Sep 2012 17:16:10 -0400 URL: http://code.mythtv.org/cgit/mythtv/commit/?id=b393cbc969f26c470e0ae38e48d9780b67dad604 Complete timezone handling in Python bindings following UTC change. This adds proper timezone handling to the Python bindings, parsing zone information out of the system TZif files. On systems without those tables available, the code will revert to a simple offset, yielding potentially inaccurate times when used on old recordings. All user interaction with datetimes will be in local time, unless forced otherwise by a timezone-aware datetime object. Times are converted to UTC automatically for interfacing with MySQL and mythbackend. Refs #10941 I'm leaving this ticket open for now, as the timezones will still need to be created in a different manner on Windows, and potentially OSX. ----------------------------------------------------------------------- Summary of changes: mythtv/bindings/python/MythTV/altdict.py | 14 +- mythtv/bindings/python/MythTV/database.py | 26 +- mythtv/bindings/python/MythTV/methodheap.py | 6 +- mythtv/bindings/python/MythTV/utility/dt.py | 350 +++++++++++++++++--- mythtv/bindings/python/MythTV/utility/other.py | 13 +- mythtv/bindings/python/MythTV/utility/singleton.py | 2 +- 6 files changed, 337 insertions(+), 74 deletions(-) -- _______________________________________________ mythtv-firehose mailing list mythtv-firehose [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-firehose
|