Changeset 31 for trunk/Import/TanecniSkola.php
- Timestamp:
- Dec 30, 2018, 7:37:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Import/TanecniSkola.php
r16 r31 47 47 { 48 48 $MeetItem = new MeetItem(); 49 $MeetItem-> Date = HumanDateToTime(trim(GetTextBetween($Item, '<h3>', '</h3>')));50 if ($MeetItem-> Date != null)49 $MeetItem->Time = HumanDateTimeToTime(trim(GetTextBetween($Item, '<h3>', '</h3>')).' '.HumanTime(time())); 50 if ($MeetItem->Time != null) 51 51 { 52 $PreviousTime = $MeetItem-> Date;53 } else $MeetItem-> Date = $PreviousTime;52 $PreviousTime = $MeetItem->Time; 53 } else $MeetItem->Time = $PreviousTime; 54 54 55 55 $Part = GetTextBetween($Item, '</strong>', '<strong>');
Note:
See TracChangeset
for help on using the changeset viewer.