diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb
index 3ee31be3ec..9002cc2579 100644
--- a/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/librelp_1.15.0.bb
@@ -84,7 +84,7 @@ do_install_ptest() {
 
 RDEPENDS:${PN}-ptest += "\
   make bash coreutils libgcc util-linux gawk grep \
-  python3-core python3-io \
+  python3-core python3-datetime python3-io \
 "
 RRECOMMENDS:${PN}-ptest += "${@bb.utils.filter('PACKAGECONFIG', 'valgrind', d)}"
 
