gov.uk dates are supposed to be formatted DD Month YYYY This function takes a date and reformats it accordingly

nice_govuk_date(x)

Arguments

x

A date object

Value

A string

Examples

nice_govuk_date(Sys.Date())
#> [1] "25 February 2023"