[New-bugs-announce] [issue9909] request for calendar.dayofyear() function
report at bugs.python.org
Tue Sep 21 05:27:43 CEST 2010
New submission from Jeffrey Finkelstein <jeffrey.finkelstein at 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)
title: request for calendar.dayofyear() function
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file18941/dayofyear.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce