[issue1436346] yday in datetime module

Jubaraj Borgohain report at bugs.python.org
Mon Jul 20 03:46:55 CEST 2009


Jubaraj Borgohain <jubarajborgohain at gmail.com> added the comment:

I have completed the following two new features for the datetime module
(the changes are attached as a patch):
a. Added a method yday()
b. Added date.fromyday(year,yday), which returns a date object.
The other features requested are already available.
The tests for these two new features have also been added to
test_datetimemodule.py.
The patch has been only tested on trunk.(Python 2.7)

----------
keywords: +patch
nosy: +jborgohain
Added file: http://bugs.python.org/file14525/issue1436346.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1436346>
_______________________________________


More information about the Python-bugs-list mailing list