Skip to content

Commit

Permalink
Fixed the issue with date format on register user
Browse files Browse the repository at this point in the history
  • Loading branch information
elyerr committed Aug 16, 2024
1 parent a76ce09 commit 4e6cb31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/js/pages/register/register.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import AirDatepicker from "air-datepicker";
import "air-datepicker/air-datepicker.css";
import en from "air-datepicker/locale/en";
import en from "air-datepicker/locale/en";
import { createPopper } from "@popperjs/core";
import anime from "animejs";

new AirDatepicker("#birthday", {
locale: en,
dateFormat: "yyyy-MM-dd",
position({ $datepicker, $target, $pointer, isViewChange, done }) {
let popper = createPopper($target, $datepicker, {
placement: "bottom",
Expand Down

0 comments on commit 4e6cb31

Please sign in to comment.