
from __future__ import absolute_import
import re


def lower_bool_converter(bool_value):
    return str(bool_value).lower()


def strip_quote(text, value):
    re_replace = re.compile(
        '["\']%s["\']' % (value), re.MULTILINE)
    return re_replace.sub(value, text)


from __future__ import absolute_import
import re


def lower_bool_converter(bool_value):
    return str(bool_value).lower()


def str_datetime_converter(value):
    return value.strftime("%Y-%m-%dT%H:%M:%S%z")


def strip_quote(text, value):
    re_replace = re.compile(
        '["\']%s["\']' % (value), re.MULTILINE)
    return re_replace.sub(value, text)

Add a converter which convert datetime to string
Add a converter which convert datetime to string

  
  from __future__ import absolute_import
  import re
  
  
  def lower_bool_converter(bool_value):
      return str(bool_value).lower()
  
  
+ def str_datetime_converter(value):
+     return value.strftime("%Y-%m-%dT%H:%M:%S%z")
+ 
+ 
  def strip_quote(text, value):
      re_replace = re.compile(
          '["\']%s["\']' % (value), re.MULTILINE)
      return re_replace.sub(value, text)
  
Add a converter which convert datetime to string
## Code Before:

from __future__ import absolute_import
import re


def lower_bool_converter(bool_value):
    return str(bool_value).lower()


def strip_quote(text, value):
    re_replace = re.compile(
        '["\']%s["\']' % (value), re.MULTILINE)
    return re_replace.sub(value, text)

## Instruction:
Add a converter which convert datetime to string
## Code After:

from __future__ import absolute_import
import re


def lower_bool_converter(bool_value):
    return str(bool_value).lower()


def str_datetime_converter(value):
    return value.strftime("%Y-%m-%dT%H:%M:%S%z")


def strip_quote(text, value):
    re_replace = re.compile(
        '["\']%s["\']' % (value), re.MULTILINE)
    return re_replace.sub(value, text)
