Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1K
Views
The Datatables searchbuilder encounters bug when I use Moment.js (Implemented by package Yajra)

I implemented my datatables by the Yajra.

We have a datetime field in the table. In searchbuilder, if we want to filter a field of datetime, by default, a datepicker is displayed with only date and no time!

enter image description here

If it is more correct to display both the date and the time. I searched the internet to solve this problem. I figured I had to use moment.js. But when I use moment.js, it encounters more bugs:

  1. In datepicker only time section is displayed and date section is not displayed.
  2. When one of the times is clicked, instead of a valid datetime, an invalid string is inserted in the input.

enter image description here

  1. The datetime string sent to the request is always a fixed datetime and does not change.

enter image description here

Where do you think the problem comes from?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!