The hash that's passed to `new` should be indented as well. Take a look at how the code is formatted in https://metacpan.org/pod/DateTime#SYNOPSIS