Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
2a6ac6ab
Commit
2a6ac6ab
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
#708060 yhahn: Bad timezone argument passed to FeedsDateTime object.
parent
237db708
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/FeedsParser.inc
+1
-1
1 addition, 1 deletion
plugins/FeedsParser.inc
with
1 addition
and
1 deletion
plugins/FeedsParser.inc
+
1
−
1
View file @
2a6ac6ab
...
@@ -264,7 +264,7 @@ class FeedsDateTimeElement extends FeedsElement {
...
@@ -264,7 +264,7 @@ class FeedsDateTimeElement extends FeedsElement {
// Set timezone if not already in the FeedsDateTime object
// Set timezone if not already in the FeedsDateTime object
$to_tz
=
date_get_timezone
(
$field
[
'tz_handling'
],
date_default_timezone_name
());
$to_tz
=
date_get_timezone
(
$field
[
'tz_handling'
],
date_default_timezone_name
());
$temp
=
new
FeedsDateTime
(
$to_tz
,
NULL
);
$temp
=
new
FeedsDateTime
(
NULL
,
new
DateTimeZone
(
$to_tz
)
);
$db_tz
=
''
;
$db_tz
=
''
;
if
(
$use_start
)
{
if
(
$use_start
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment