def value_to_string(self, value):
        value_str = value.isoformat(*self.format_args)
        # undo python's idiotic formatting irregularity
        if(self.allows_microseconds and not value.microsecond):
            value_str += ".000000"
        return unicode(value_str)
This function must be overridden in a sub-class
dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/DateTimeHandler.value_to_string--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/gitfs.py/GitProvider.file_list