Skip to content

Commit

Permalink
#18; apply same change to jt_clean_date() for toc fetching as in clas…
Browse files Browse the repository at this point in the history
…s.UpdateInputCsv.php
  • Loading branch information
tzeumer committed Mar 8, 2016
1 parent 19a81b9 commit 82a697c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/class.GetJournalToc.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ public function script_timer() {
*/
private function jt_clean_date($date = '') {
$journal_date= str_replace("\n", '', $date); // has line breaks sometimes?
$journal_date= str_replace(",", '', $journal_date); // "22 December, 2015" becomes 2016-12-22; "22 December 2015" works

// weird?
if (!$journal_date) {
Expand Down

0 comments on commit 82a697c

Please sign in to comment.