Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for CxoTime() to get current time in date format #9

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

taldcroft
Copy link
Member

@taldcroft taldcroft commented Jul 31, 2020

Description

This allows for CxoTime() as a drop-in replacement for DateTime(), thus making migration easier. It also overrides the now() class method to return the time in date format instead of datetime as in the Time base class.

Generally speaking, new code should use CxoTime.now() as being more explicit, but either way is OK.

Testing

  • Passes unit tests on MacOS
  • [N/A] Functional testing

You might be interested @jzuhone and @matthewdahmer.

@taldcroft taldcroft merged commit f77e969 into master Jul 31, 2020
@taldcroft taldcroft deleted the time-now branch July 31, 2020 12:41
@javierggt javierggt mentioned this pull request Dec 7, 2020
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.

1 participant