Skip to content

hoursInterval and minutesInterval options in config #39

@dmuy

Description

@dmuy

Discussed in #34

Originally posted by juangvega August 31, 2023
Hi @dmuy

I've been using this plugin for several years now. It is amazing! Thank you for this!

Two quick features that I added are the option to set the interval for the hours and minutes to select. Let's say I only want the users to select times within 5-minute intervals. Ex. 1:00 PM, 1:05 PM...

This is pretty straightforward to add: set the value in the config, being 1 the default. And change the for-loop that creates the hours/minutes elements to increment by this value.

This feature has been very useful for me; I guess it could be for others as well.

Thanks again for this work!

Metadata

Metadata

Assignees

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions