I saved it few years ago... and still have it ;D
Here
Project GitHub - gion86/PlantLight: Automatic light switch based on light sensor and date/time RTC
Library GitHub - gion86/DS1307_RTC: DS1307 Real time clock library for the ATTiny85 (ATTinyX5)
I made a little project with that code, slightly modified: it's working pretty well once you get the drift correction for you clock/oscillator...
DS1307 Drift Corrected.zip (26 KB)