Changeset 31 for trunk/Import/Eso.php


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

    r23 r31  
    3535        $Small = substr($Small, strpos($Small, '/') + 1);
    3636      }     
    37       $MeetItem->Date = trim($Small);
    38       $MeetItem->Date = HumanDateTimeToTime($MeetItem->Date);
     37      $MeetItem->Time = trim($Small);
     38      $MeetItem->Time = HumanDateTimeToTime($MeetItem->Time.' '.HumanTime(time()));
    3939      $MeetItem->Message = trim(GetTextBetween($Item, '<p class="lead">', '</p>'));
    4040      $MeetItem->Age = GetAgeFromText($MeetItem->Message);     
Note: See TracChangeset for help on using the changeset viewer.