Ignore:
Timestamp:
Dec 30, 2018, 8:14:55 PM (6 years ago)
Author:
chronos
Message:
  • Added: Meet item TimeImport time to see when was item imported to the database. Use TimeImport in RSS export for items with only date specified.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Import/Seznamka.php

    r31 r32  
    4040      $MeetItem->Age = trim(str_replace('let', '', $MeetItem->Age));
    4141      $MeetItem->Location = trim(GetTextBetween($Item, ' rel="nofollow">', '</a></span>'));
    42       $MeetItem->Time = HumanDateTimeToTime(trim(GetTextBetween($Item, '> </a>', '</span>')).' '.HumanTime(time()));
     42      $MeetItem->Time = HumanDateToTime(trim(GetTextBetween($Item, '> </a>', '</span>')));
    4343      $MeetItem->Message = trim(strip_tags(GetTextBetween($Item, 'margin-top:10px;\'>', '</div>')));
    4444      $MeetItem->Link = GetTextBetween($Item, "<a href='", "'");
Note: See TracChangeset for help on using the changeset viewer.