[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py Added test for strftime with unicode pattern.
Log message for revision 30570: Added test for strftime with unicode pattern. Changed: U Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py -=- Modified: Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py === --- Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py 2005-05-31 14:30:17 UTC (rev 30569) +++ Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py 2005-05-31 14:58:17 UTC (rev 30570) @@ -373,7 +373,10 @@ dt2 = DateTime('2040/01/30 11:33 GMT-2') self.assertEqual(dt1.strftime('%d/%m/%Y %H:%M'), dt2.strftime('%d/%m/%Y %H:%M')) - +def testStrftimeUnicode(self): +dt = DateTime('2002-05-02T08:00:00+00:00') +self.assertEqual(dt.strftime(u'Le %d/%m/%Y \xe0 %Hh%M'), + u'Le 02/05/2002 \xe0 10h00') def test_suite(): return unittest.makeSuite(DateTimeTests) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/tests/testDateTime.py Merged revision 30570 from Zope-2_8-branch:
Log message for revision 30571: Merged revision 30570 from Zope-2_8-branch: Added test for strftime with unicode pattern. Changed: U Zope/trunk/lib/python/DateTime/tests/testDateTime.py -=- Modified: Zope/trunk/lib/python/DateTime/tests/testDateTime.py === --- Zope/trunk/lib/python/DateTime/tests/testDateTime.py2005-05-31 14:58:17 UTC (rev 30570) +++ Zope/trunk/lib/python/DateTime/tests/testDateTime.py2005-05-31 16:00:54 UTC (rev 30571) @@ -373,7 +373,10 @@ dt2 = DateTime('2040/01/30 11:33 GMT-2') self.assertEqual(dt1.strftime('%d/%m/%Y %H:%M'), dt2.strftime('%d/%m/%Y %H:%M')) - +def testStrftimeUnicode(self): +dt = DateTime('2002-05-02T08:00:00+00:00') +self.assertEqual(dt.strftime(u'Le %d/%m/%Y \xe0 %Hh%M'), + u'Le 02/05/2002 \xe0 10h00') def test_suite(): return unittest.makeSuite(DateTimeTests) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: zdaemon/trunk/zdctl.py Collector # 1323: applied patch to fix umask handling in zdctl
Log message for revision 30572: Collector # 1323: applied patch to fix umask handling in zdctl Changed: U zdaemon/trunk/zdctl.py -=- Modified: zdaemon/trunk/zdctl.py === --- zdaemon/trunk/zdctl.py 2005-05-31 16:00:54 UTC (rev 30571) +++ zdaemon/trunk/zdctl.py 2005-05-31 16:14:00 UTC (rev 30572) @@ -213,7 +213,7 @@ args += self._get_override(-f, forever, flag=1) args += self._get_override(-s, sockname) args += self._get_override(-u, user) -args += self._get_override(-m, umask) +args += self._get_override(-m, umask, oct(self.options.umask)) args += self._get_override( -x, exitcodes, ,.join(map(str, self.options.exitcodes))) args += self._get_override(-z, directory) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: zdaemon/tags/zdaemon-Zope-2-8-0/ version for final Zope 2.8.0 release
Log message for revision 30573: version for final Zope 2.8.0 release Changed: A zdaemon/tags/zdaemon-Zope-2-8-0/ -=- Copied: zdaemon/tags/zdaemon-Zope-2-8-0 (from rev 30572, zdaemon/trunk) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/lib/python/zdaemon/ replacing local copy with external definition
Log message for revision 30574: replacing local copy with external definition Changed: D Zope/trunk/lib/python/zdaemon/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins