You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,6 @@ The following configuration options can be passed in when creating an instance o
88
88
//constructor signature
89
89
new Parser(
90
90
string $default_lang = 'en',
91
-
string $date_template = '',
92
91
bool $remove_styles = true,
93
92
bool $remove_scripts = true
94
93
);
@@ -103,15 +102,6 @@ new Parser(
103
102
$parser->setDefaultLanguage('fr');
104
103
```
105
104
106
-
-**date_template**:
107
-
108
-
This option sets the date formatter template used when parsing feed date properties such as `lastUpdated`. the default format used is `'jS F, Y, g:i A'`. The formatter template should be a valid php date formatter argument. see [date](http://php.net/manual/en/function.date.php) for details.
109
-
110
-
```php
111
-
$parser = new Parser();
112
-
$parser->setDateTemplate('jS F, y, g:i a');
113
-
```
114
-
115
105
-**remove_styles**:
116
106
117
107
This option states if stylings found in any feed item's content, should be stripped off. The stylings include html `style` element and attribute. Defaults to true.
0 commit comments