Skip to content

Add support for time picker - #59

Open
stefanheimes wants to merge 1 commit into
hofff:contao5from
stefanheimes:patch-1
Open

Add support for time picker#59
stefanheimes wants to merge 1 commit into
hofff:contao5from
stefanheimes:patch-1

Conversation

@stefanheimes

Copy link
Copy Markdown

Check if a time format is set and enable the time picker.

Check if a time format is set and enable the time picker.
Comment on lines +50 to +51
<?php foreach(['G', 'g', 'H', 'h', 'i'] as $foematPattern): ?>
<?php if (str_contains($this->dateFormat, $foematPattern)): ?>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<?php foreach(['G', 'g', 'H', 'h', 'i'] as $foematPattern): ?>
<?php if (str_contains($this->dateFormat, $foematPattern)): ?>
<?php foreach(['G', 'g', 'H', 'h', 'i'] as $formatPattern): ?>
<?php if (str_contains($this->dateFormat, $formatPattern)): ?>

Just a small typo :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants