Skip to content

transforms.Time should return datetime.time #23

Description

@c0rydoras

def __init__(self, return_datetime: bool = False):
# return_datetime will be removed at some point
# it defaults to True to maintain backwards compatibility
self.return_datetime = return_datetime

Time transform should return a datetime.time instead of a datetime.datetime(1900, 1, 1, time.hours, time.minutes, time.seconds). (see #17)

Metadata

Metadata

Assignees

Labels

breakingbreaking change / removalremovalremoval request / implementation

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions