G6EJD/ESP8266-NTP-time-on-an-OLED-with-WiFi-Manager

Missing code attribution to QA on StackOverflow

gnif opened this issue · 3 comments

gnif commented

The code used to calculate the date and time has been taken from my question at https://stackoverflow.com/questions/21593692/convert-unix-timestamp-to-date-without-system-libs

All code on Stack Overflow is published under cc by-sa 4.0 with attribution required
https://creativecommons.org/licenses/by-sa/4.0/
https://stackoverflow.blog/2009/06/25/attribution-required/

The offending code is:

https://github.com/G6EJD/ESP8266-NTP-time-on-an-OLED-with-WiFi-Manager/blob/87507a3c8b38f733492465642fb8fbcc20a16c33/ESP8266_TN008g_NTP_Time_OLED_and_WIFI_Manager_UK_Webserver.ino#L149:L187

Since the license states that If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. you must change the license of this source file to CC by-sa 4.0 and provide attribution, or remove the offending code.

G6EJD commented

I’m currently in Bristol (UK) hospital and only have access to GitHub via my iPhone, but I will amend the code by deleting the function and replacing with the now in-built time functions when I’m discharged, this will hopefully be completed in about 4-weeks.

gnif commented

Not a problem 👍
I hope things go well for you.

G6EJD commented

All code segments now deleted, replaced with internal time services.