-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BTRIA-2100/missing timezone parameter #2007
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
phpcs
src/functions/template-tags/date.php|360 col 1| Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed
src/functions/template-tags/date.php|360 col 8| Squiz.Commenting.FunctionComment.ParamCommentFullStop
Parameter comment must end with a full stop
src/functions/template-tags/date.php|360 col 15| Generic.Files.LineLength.MaxExceeded
Line exceeds maximum limit of 100 characters; contains 122 characters
BTRIA-2100
The
$timezone
parameter seems to be missing fromtribe_get_end_date
. As a result, the method returns UTC time zone.I added the missing parameter based on how it's done for
tribe_get_start_date
.