Skip to content

DateTime validator return datetime#65

Open
mbdaryanto wants to merge 2 commits intocloseio:masterfrom
mbdaryanto:datetime-validator-patch
Open

DateTime validator return datetime#65
mbdaryanto wants to merge 2 commits intocloseio:masterfrom
mbdaryanto:datetime-validator-patch

Conversation

@mbdaryanto
Copy link
Contributor

add no_time_as_date args with default to False, to switch to old behaviour by setting to True, if False always return datetime if True return date when no time in the input

add no_time_as_date args with default to False, to switch to old behaviour by setting to True, if False always return datetime if True return date when no time in the input
@AlecRosenbaum
Copy link
Contributor

I've cherry picked that commit into #66 and merged it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants