Author shanmbic
Recipients belopolsky, gvanrossum, shanmbic
Date 2015-10-04.19:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443988704.88.0.673835644146.issue24954@psf.upfronthosting.co.za>
In-reply-to
Content
I modified the "format_utcoffset" function in "_datetimemodule.c", to accept one more parameter "secondsrequired" . It is a boolean variable (PyObject) , which when set to true, the function will return the offset formatted as "+HH:MM:SS" or "-HH:MM:SS". I also modified the "wrap_strftime" function to also accept the strings "%:z" and "%::z" as format specifiers. This is my first contribution to python , so my approach of modifying a function's default parameters might not be correct. Any help is appreciated 
Thanks
History
Date User Action Args
2015-10-04 19:58:24shanmbicsetrecipients: + shanmbic, gvanrossum, belopolsky
2015-10-04 19:58:24shanmbicsetmessageid: <1443988704.88.0.673835644146.issue24954@psf.upfronthosting.co.za>
2015-10-04 19:58:24shanmbiclinkissue24954 messages
2015-10-04 19:58:24shanmbiccreate