drewwalters96 / subber

A web-based application that allows active reddit users to discover subreddits based on post history and subscription data.
GNU General Public License v3.0
5 stars 3 forks source link

Replace `utc_epoch_sec_to_years` function #59

Open drewwalters96 opened 6 years ago

drewwalters96 commented 6 years ago

Thank you for your contribution to Subber! Please fill out one of the two templates below (issue or feature request).

Issue:

Expected behavior
Actual behavior
Steps to reproduce the behavior
Relevant logs (subber.log)
  12 2018-10-06 17:04:15,078    root              DEBUG    Converting 1279862064.0 seconds from UTC epoch to years to date
  13 2018-10-06 17:04:15,078    root              ERROR    Unable to calculate years to date from UTC epoch timestamp
  14 2018-10-06 17:04:15,746    root              DEBUG    Converting 1228908510.0 seconds from UTC epoch to years to date
  15 2018-10-06 17:04:15,746    root              ERROR    Unable to calculate years to date from UTC epoch timestamp
  16 2018-10-06 17:04:16,452    root              DEBUG    Converting 1446861249.0 seconds from UTC epoch to years to date
  17 2018-10-06 17:04:16,453    root              ERROR    Unable to calculate years to date from UTC epoch timestamp
  18 2018-10-06 17:04:17,123    root              DEBUG    Converting 1201311072.0 seconds from UTC epoch to years to date
  19 2018-10-06 17:04:17,124    root              ERROR    Unable to calculate years to date from UTC epoch timestamp
  20 2018-10-06 17:04:17,792    root              DEBUG    Converting 1423117238.0 seconds from UTC epoch to years to date
  21 2018-10-06 17:04:17,792    root              ERROR    Unable to calculate years to date from UTC epoch timestamp
  22 2018-10-06 17:04:18,512    root              DEBUG    Converting 1527525447.0 seconds from UTC epoch to years to date
  23 2018-10-06 17:04:18,512    root              ERROR    Unable to calculate years to date from UTC epoch timestamp

Feature request (please include as much detail as possible):