5e8eeac47f
Stop using surrogate escape ( #302 )
...
It was workaround for `bytes %`.
Since we dropped Python 3.4 support, we can use just `bytes %` now.
2018-12-07 02:39:33 +09:00
833816ee87
Move _mysql and _mysql_exceptions into MySQLdb/ ( #293 )
2018-12-04 20:19:04 +09:00
d0f96ff213
Return in case of higher precision than expected
2015-05-06 17:32:00 +02:00
f7bb72e9ce
Prefer early return and less indention
2015-05-05 19:37:05 +02:00
c70564f813
Remove unnecessary if statement
2015-05-04 20:18:57 +02:00
77a8e4a480
Increase performance when casting dates
2015-05-04 20:18:57 +02:00
1670adfed2
Revert "Always convert epoch to UTC"
...
This reverts commit 8efd1d87690f525eae147779888ff144f5edf3e6.
2015-05-01 20:33:34 +02:00
5d47ff4e35
Increase MySQLdb.times
coverage to 100%
2015-05-01 19:59:35 +02:00
8efd1d8769
Always convert epoch to UTC
2015-05-01 18:26:01 +02:00
861a7d3a91
Don't use datetime.isoformat() when encoding
2015-02-06 21:54:59 +09:00
61a5acd39b
fix camelCase. Move abs()
2014-04-22 13:00:29 +03:00
21decd80ee
Fix wrong sign with negative zero hour timediff. Fixes #63
2014-04-22 01:48:38 +03:00
fb1c79d85a
microsecond-bug-fix
...
When the MySQL Datetime Fraction is less than 6, microseconds set
incorrectly. For example, you set the field, Datetime(3). Then this
library read the time `2013-11-07 10:27:35.705` as `2013-11-08
10:27:35.000705`.
2013-11-08 12:18:55 +09:00
100485f627
microsecond-bug-fix for datetime.datetime
2013-11-08 11:51:31 +09:00
0226f1a727
Fix problem with return None if Datetime field contained microsecond (Issue #24 )
2013-07-15 18:11:07 +03:00
7a846cf5e3
Allow pip install from git
...
Merged with modifications from a815269010
2012-10-04 13:34:39 -04:00