From bb368201761b2381bb982c875f47c55d441e9578 Mon Sep 17 00:00:00 2001 From: Edward Emanuel Jr Date: Mon, 25 Jul 2016 21:50:03 -0500 Subject: [PATCH] Updated qb_datetime_utc_offset_format to support python 2.6. --- CHANGELOG.rst | 3 +++ quickbooks/helpers.py | 2 +- setup.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e5c4a9d..c08d374 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,9 @@ Changelog ======== +* 0.5.1 (July 25, 2016) + * Updated qb_datetime_utc_offset_format to support python 2.6. + * 0.5.0 (July 25, 2016) * Added ability to query current user. * Added support to reconnect an account. diff --git a/quickbooks/helpers.py b/quickbooks/helpers.py index d3b53e2..eaf3aca 100644 --- a/quickbooks/helpers.py +++ b/quickbooks/helpers.py @@ -24,4 +24,4 @@ def qb_datetime_utc_offset_format(input_date, utc_offset): :param utc_offset: Formatted +/-HH:MM example: -08:00 :return: """ - return "{}{}".format(qb_datetime_format(input_date), utc_offset) + return "{0}{1}".format(qb_datetime_format(input_date), utc_offset) diff --git a/setup.py b/setup.py index 00067db..9f6f0cb 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def read(*parts): return fp.read() -VERSION = (0, 5, 0) +VERSION = (0, 5, 1) version = '.'.join(map(str, VERSION)) setup(