Skip to content

Millisecond support #1361

@ollierob

Description

@ollierob

I would like to be able to a) specify milliseconds through the editor, b) allow manual input of milliseconds.

Given the below example, a millisecond editor is not rendered for the first scenario, and the milliseconds are reset to 0 on focus-lost for the second scenario.

flatpickr("#date", {
  enableTime: true,
  enableSeconds: true,
  allowInput: true,
  dateFormat: 'Z'
});

See https://jsfiddle.net/ejazs6v1/

v 4.4.6 on Chrome

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions