Skip to content

Commit

Permalink
New Feature and Cleaned Up Code
Browse files Browse the repository at this point in the history
Can now set hours instead of days for backwards search
Put html creation into functions
Don't display categories if empty
  • Loading branch information
jakewaldron committed Mar 12, 2015
1 parent 649b380 commit ebf67a1
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 163 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ The config file is in the scripts folder. Before first run of the script, pleas

#####General
* date_format - Format to use for the date
* days_back_to_search - Number of days to search backwards
* date_days_back_to_search - Number of days to search backwards
* date_use_hours - Search back y hours instead of days (useful for 24 hours reports)
* date_hours_back_to_search - Number of hours to search backwards

#####Web
* web_enabled - Enable the creation of the web page
Expand Down
4 changes: 3 additions & 1 deletion scripts/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ web_folder = ''

##General
date_format = '%m/%d/%y'
days_back_to_search = 7
date_days_back_to_search = 7
date_use_hours = False
date_hours_back_to_search = 24

##Image Upload - If this option is enabled, image hosting will be used for web and email
#Cloudinary - Sign up for a free account at: http://cloudinary.com/
Expand Down
Loading

0 comments on commit ebf67a1

Please sign in to comment.