Correct way to create random dates with luxon and fakerjs

How to create a random date using luxon and fakerjs in factories?

import Factory from '@ioc:Adonis/Lucid/Factory'
import { DateTime } from 'luxon'

import Holiday from 'App/Models/Holiday'

export default Factory.define(Holiday, ({ faker }) => {
  return {
    date: DateTime.fromObject({ ordinal: faker.random.number(364) + 1 }),
  }
})

This form does not work for leap years. How to make it work for any date?

Note: Adonis v5