Module utils

Module utils 

Source

Functionsยง

extract_log_entries
Extract log entries from the log section Returns ( content before log section, content after log section, list of log entries, and detected list type) Section heading retrieved from yaml config
format_time
Format time according to the specified format (12 or 24 hour)
get_log_path_for_date
Build file path for given date and format string from configuration yaml Supported tokens: {year}, {month}, {date}
parse_time
Parse time string in either 12 or 24 hour format