|
9 | 9 | #include <AK/MemoryStream.h> |
10 | 10 | #include <AK/Stream.h> |
11 | 11 | #include <AK/UFixedBigInt.h> |
12 | | -#include <LibCore/DateTime.h> |
13 | 12 | #include <LibDNS/Message.h> |
14 | 13 |
|
15 | 14 | namespace DNS::Messages { |
@@ -1237,8 +1236,8 @@ ErrorOr<String> Records::SIG::to_string() const |
1237 | 1236 | builder.appendff("Algorithm: {}, ", DNSSEC::to_string(algorithm)); |
1238 | 1237 | builder.appendff("Labels: {}, ", label_count); |
1239 | 1238 | builder.appendff("Original TTL: {}, ", original_ttl); |
1240 | | - builder.appendff("Signature expiration: {}, ", Core::DateTime::from_timestamp(expiration.truncated_seconds_since_epoch())); |
1241 | | - builder.appendff("Signature inception: {}, ", Core::DateTime::from_timestamp(inception.truncated_seconds_since_epoch())); |
| 1239 | + builder.appendff("Signature expiration: {}, ", expiration); |
| 1240 | + builder.appendff("Signature inception: {}, ", inception); |
1242 | 1241 | builder.appendff("Key tag: {}, ", key_tag); |
1243 | 1242 | builder.appendff("Signer's name: '{}', ", signers_name.to_string()); |
1244 | 1243 | builder.appendff("Signature: {}", TRY(encode_base64(signature))); |
|
0 commit comments