OK I prefer small work items too:<div><br></div><div><a href="http://ironpython.codeplex.com/workitem/32342">http://ironpython.codeplex.com/workitem/32342</a> </div><div><br></div><div>Tonight I'll setup git and play around, maybe I can solve this one. </div>
<div><br></div><div>Best regards</div><div>Mello<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 4:15 PM, Jeff Hardy <span dir="ltr"><<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No, create a new one. That datetime one is so big (and out of date)<br>
that it might never be closed. I prefer them to be small pieces.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Jeff<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Mar 2, 2012 at 11:09 AM, Cesar Mello <<a href="mailto:cmello@gmail.com">cmello@gmail.com</a>> wrote:<br>
> There is a work item for missing datetime features:<br>
><br>
> <a href="http://ironpython.codeplex.com/workitem/17470" target="_blank">http://ironpython.codeplex.com/workitem/17470</a><br>
><br>
> So should I just insert a comment instead of creating a new work item?<br>
><br>
> Thanks!<br>
><br>
> Best regards<br>
> Mello<br>
><br>
><br>
><br>
><br>
><br>
> On Fri, Mar 2, 2012 at 2:10 PM, Jeff Hardy <<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>> wrote:<br>
>><br>
>> Just an oversight. Can you open an issue on <a href="http://ironpython.codeplex.com" target="_blank">ironpython.codeplex.com</a>?<br>
>> Should be easy enough to get this in. If you're up to it, a pull<br>
>> request would be even better :)<br>
>><br>
>> - Jeff<br>
>><br>
>> On Fri, Mar 2, 2012 at 8:54 AM, Cesar Mello <<a href="mailto:cmello@gmail.com">cmello@gmail.com</a>> wrote:<br>
>> > Hi!<br>
>> ><br>
>> > This method doesn't seem to be implemented. From<br>
>> > <a href="http://docs.python.org/library/datetime.html" target="_blank">http://docs.python.org/library/datetime.html</a> :<br>
>> > timedelta.total_seconds()<br>
>> ><br>
>> > Return the total number of seconds contained in the duration. Equivalent<br>
>> > to<br>
>> > (td.microseconds + (td.seconds + td.days * 24 * 3600) * 10**6) /10**6<br>
>> > computed with true division enabled.<br>
>> ><br>
>> > Note that for very large time intervals (greater than 270 years on most<br>
>> > platforms) this method will lose microsecond accuracy.<br>
>> ><br>
>> > New in version 2.7.<br>
>> ><br>
>> ><br>
>> > Best regards!<br>
>> > Mello<br>
>> ><br>
>> > _______________________________________________<br>
>> > Ironpython-users mailing list<br>
>> > <a href="mailto:Ironpython-users@python.org">Ironpython-users@python.org</a><br>
>> > <a href="http://mail.python.org/mailman/listinfo/ironpython-users" target="_blank">http://mail.python.org/mailman/listinfo/ironpython-users</a><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>