New submission from Jeffrey Finkelstein <jeffrey.finkelst...@gmail.com>:
This is a function which computes the integer between 1 and 366 representing the day of the year, given a year, month, and day. The implementation I have provided computes the difference between the ordinal numbers of the given day and January first of that month. This will be useful in resolving issue9864, in which parsing of date strings has an unimplemented "day of year" feature. ---------- components: Library (Lib) files: dayofyear.patch keywords: patch messages: 117024 nosy: jfinkels priority: normal severity: normal status: open title: request for calendar.dayofyear() function type: feature request versions: Python 3.3 Added file: http://bugs.python.org/file18941/dayofyear.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9909> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com