lib/standup_md/file/helpers.rb in standup_md-0.3.13 vs lib/standup_md/file/helpers.rb in standup_md-0.3.14

- old
+ new

@@ -38,19 +38,24 @@ raise "Unrecognized header [#{line}]" end def new_entry(record) # :nodoc: Entry.new( - Date.strptime(record['header'], StandupMD.config.file.header_date_format), + Date.strptime( + record['header'], + StandupMD.config.file.header_date_format + ), record[StandupMD.config.file.current_header], record[StandupMD.config.file.previous_header], record[StandupMD.config.file.impediments_header], record[StandupMD.config.file.notes_header] ) end def header(date) - '#' * StandupMD.config.file.header_depth + ' ' + date.strftime(StandupMD.config.file.header_date_format) + '#' * StandupMD.config.file.header_depth + + ' ' + + date.strftime(StandupMD.config.file.header_date_format) end def sub_header(subhead) '#' * StandupMD.config.file.sub_header_depth + ' ' + subhead end