http access log attributes do not work
certain http access log attributes do not work, namely %t, %D
always getting "-" for those attributes in the log.

for the following pattern:
%t "%r" %s %b %D "%{i,Referer}" "%{i,User-Agent}"

getting the following line in the log file:

-  "GET /_health HTTP_1_1" 200 2 -  "-" "curl/7.58.0"

**Expected behavior**
%t - Date and time, in Common Log Format format
%D - Time taken to process the request, in millis

**Actual behavior**

always getting dashes ("-") for those attributes

**To Reproduce**
see the Configuration section.

**Configuration**
```properties
quarkus.http.access-log.enabled = true
quarkus.http.access-log.pattern = %t "%r" %s %b %D "%{i,Referer}" "%{i,User-Agent}"
quarkus.http.access-log.log-to-file = true
quarkus.http.access-log.base-file-name = http-access
quarkus.http.access-log.log-directory = /var/log/quarkus/http

```

**Environment (please complete the following information):**
 x86_64 GNU/Linux
OpenJDK Runtime Environment Corretto-11.0.7.10.1 (build 11.0.7+10-LTS)
Quarkus 1.5.0
Apache Maven 3.6.3

diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttribute.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttribute.java
index e8660cbdec8..ade164d92f8 100644
--- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttribute.java
+++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttribute.java
@@ -1,7 +1,7 @@
 package io.quarkus.vertx.http.runtime.attribute;
 
-import java.time.LocalDateTime;
 import java.time.ZoneId;
+import java.time.ZonedDateTime;
 import java.time.format.DateTimeFormatter;
 import java.util.Locale;
 
@@ -41,7 +41,7 @@ public DateTimeAttribute(final String dateFormat, final String timezone) {
 
     @Override
     public String readAttribute(final RoutingContext exchange) {
-        return formatter.format(LocalDateTime.now());
+        return formatter.format(ZonedDateTime.now());
     }
 
     @Override
diff --git a/extensions/vertx-http/runtime/src/test/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttributeTest.java b/extensions/vertx-http/runtime/src/test/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttributeTest.java
index 1b2dd007b2d..1c2359b768d 100644
--- a/extensions/vertx-http/runtime/src/test/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttributeTest.java
+++ b/extensions/vertx-http/runtime/src/test/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttributeTest.java
@@ -5,6 +5,7 @@
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
+import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
 
 class DateTimeAttributeTest {
@@ -15,4 +16,13 @@ void shouldReadAttribute() {
         DateTimeAttribute dta = new DateTimeAttribute("dd/MM/yyyy");
         assertThat(dta.readAttribute(null)).isEqualTo(sdf.format(new Date()));
     }
+
+    @Test
+    void testDefaultDateFormat() {
+        final ExchangeAttribute attribute = new DateTimeAttribute.Builder().build(DateTimeAttribute.DATE_TIME_SHORT);
+        final String value = attribute.readAttribute(null);
+        Assertions.assertNotNull(value, DateTimeAttribute.DATE_TIME_SHORT + " attribute returned null");
+        Assertions.assertFalse(value.trim().isEmpty(), DateTimeAttribute.DATE_TIME_SHORT + " attribute returned empty value");
+    }
+
 }
['extensions/vertx-http/runtime/src/test/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttributeTest.java', 'extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/DateTimeAttribute.java']