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/Seznamka.php

    r30 r31  
    4040      $MeetItem->Age = trim(str_replace('let', '', $MeetItem->Age));
    4141      $MeetItem->Location = trim(GetTextBetween($Item, ' rel="nofollow">', '</a></span>'));
    42       $MeetItem->Date = HumanDateToTime(trim(GetTextBetween($Item, '> </a>', '</span>')));
     42      $MeetItem->Time = HumanDateTimeToTime(trim(GetTextBetween($Item, '> </a>', '</span>')).' '.HumanTime(time()));
    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.