Skip to content

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

Open
Daemach wants to merge 2 commits into
PaulStoffregen:masterfrom
Daemach:makeTime
Open

Added a new signature for makeTime to create time_t from discrete elements#131
Daemach wants to merge 2 commits into
PaulStoffregen:masterfrom
Daemach:makeTime

Conversation

@Daemach

@Daemach Daemach commented May 17, 2019

Copy link
Copy Markdown

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
Copy Markdown

@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
Copy Markdown

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