Skip to content

Commit

Permalink
Recover default altFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevega committed Sep 18, 2023
1 parent b26eb8f commit 8aed282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/components/flatpickr.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default function flatpickrDatepicker(args) {
shorthand: false, //defaults to false
dateFormat: args.packageConfig.dateFormat ?? "F Y", //defaults to "F Y"
altInput: args.packageConfig.altInput ?? true,
altFormat: args.packageConfig.altFormat ?? "F, Y",
theme: this.mode // defaults to "light"
}))
} else if (this.attribs.weekSelect) {
Expand Down

0 comments on commit 8aed282

Please sign in to comment.