[Webkit-unassigned] [Bug 31391] SVNTest.test_svn_apply may fail in different timezone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 16 02:41:20 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31391





--- Comment #3 from Shinichiro Hamaji <hamaji at chromium.org>  2009-11-16 02:41:20 PST ---
If nothing changed after I did similar stuff with Python (and as far as I
searched webs now), I think there are no easy way to do this. If I understand
correctly, Python provides a framework to convert datetime object among
different timezones, but it doesn't provide information of actual timezones.
Like following blog post, we need to provide information of each timezone by
ourselves.

http://uswaretech.com/blog/2009/02/understanding-datetime-tzinfo-timedelta-timezone-conversions-python/

There seems to be a library which provides information of timezones, but it
seems not to be the standard library.

http://pytz.sourceforge.net/

I think my patch would be OK as prepare-ChangeLog is doing the same thing after
all and it's just a test.

Another idea to fix this is adding an --date flag into prepare-ChangeLog and
use this flag in this unittest. If you prefer this approach, I'll do the fix.

Of course, if I'm missing something and there is a better way, I'd like to use
the way.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list