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

Added a new signature for makeTime to create time_t from discrete elements #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Daemach
Copy link

@Daemach Daemach commented May 17, 2019

I like this library. I needed to be able to create a time_t from discrete elements so this signature creates the tm struct to pass to the original.

Daemach added 2 commits May 17, 2019 08:27
- Creates time_t from discrete elements rather than struct
@Bougakov
Copy link

@Daemach thanks a lot for this code - it helped me a lot when I was implementing a feature that calculated how much time is left between now and future events on the same day: https://github.com/Bougakov/wallclock/blob/master/wallclock.ino

@papillon81
Copy link

I did the exact same thing for that purpose. But in my code. So I highly support this request 👍

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.

3 participants