Regex expression error datetime picker?

System Information
  • Strapi Version: 4.17.1
  • Operating System: windows
  • Database: PG
  • Node Version: v18.19.0
  • NPM Version: 10.2.3
  • Yarn Version: n/a

I am getting this error in my console when trying to add a publish_at date and time:

Pattern attribute value \d{2}:\d{2} is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /\d{2}:\d{2}/v: Invalid escape


Any ideas on what to do? I can still save the article, I just don’t want this to cause more errors down the line.