Changeset 17 for trunk


Ignore:
Timestamp:
Dec 25, 2018, 10:21:20 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Amblar meet import special date parsing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Import/Amblar.php

    r11 r17  
    5555      $MeetItem->Date = trim(GetTextBetween($Item, '<span class="dwqa-date">', '</span>'));
    5656      if ($MeetItem->Date == 'před 1 dní') $MeetItem->Date = strtotime("-1 days");
     57        else if ($MeetItem->Date == 'před 2 dny') $MeetItem->Date = strtotime("-2 days");
    5758        else $MeetItem->Date = HumanDateToTime($MeetItem->Date);
    5859      $MeetItem->Email = '';
Note: See TracChangeset for help on using the changeset viewer.