Ignore:
Timestamp:
Dec 30, 2018, 7:37:55 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Store date of meet items including time. For items without specified time, just use current time (time of import).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Import/Facebook.php

    r23 r31  
    3232        else $MeetItem->Gender = Gender::Undefined;
    3333      $MeetItem->Name = trim(html_entity_decode(GetTextBetween($Item, '<span class="_39_n">', '</span>')));
    34       $MeetItem->Date = trim(GetTextBetween($Item, ' ', '</th>'));
    35       $MeetItem->Date = HumanDateTimeToTime($MeetItem->Date);
     34      $MeetItem->Time = trim(GetTextBetween($Item, ' ', '</th>'));
     35      $MeetItem->Time = HumanDateTimeToTime($MeetItem->Time);
    3636      $MeetItem->Height = trim(GetTextBetween($Item, "výška:", 'cm'));
    3737      $MeetItem->Message = trim(html_entity_decode(strip_tags(GetTextBetween($Item, 'data-ft="&#123;&quot;tn&quot;:&quot;K&quot;&#125;">', '</div>'))));
Note: See TracChangeset for help on using the changeset viewer.