Changeset 31 for trunk/Import/AstraPraha.php
- Timestamp:
- Dec 30, 2018, 7:37:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Import/AstraPraha.php
r26 r31 23 23 $Item = GetTextBetween($Content, $ItemStart, $ItemEnd); 24 24 $MeetItem = new MeetItem(); 25 $MeetItem-> Date = trim(GetTextBetween($Item, 'Vloženo:', '</p>'));26 $MeetItem-> Date = HumanDateToTime($MeetItem->Date);25 $MeetItem->Time = trim(GetTextBetween($Item, 'Vloženo:', '</p>')); 26 $MeetItem->Time = HumanDateTimeToTime($MeetItem->Time.' '.HumanTime(time())); 27 27 28 28 $MeetItem->Gender = trim(GetTextBetween($Item, '<h3 class=\'dating-heading\'>', '</h3>'));
Note:
See TracChangeset
for help on using the changeset viewer.