This is an automated email from the ASF dual-hosted git repository.

kpvdr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-interop-test.git


The following commit(s) were added to refs/heads/main by this push:
     new c638a8b  Final fix for new Rhea - AMQP timestamp type converting from 
Date objects back to unix timestamps
c638a8b is described below

commit c638a8b786d9fbe808cc19720ddf0367fb48f9bd
Author: Kim van der Riet <kvand...@redhat.com>
AuthorDate: Wed Apr 28 11:51:22 2021 -0400

    Final fix for new Rhea - AMQP timestamp type converting from Date objects 
back to unix timestamps
---
 shims/rhea-js/amqp_types_test/Receiver.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shims/rhea-js/amqp_types_test/Receiver.js 
b/shims/rhea-js/amqp_types_test/Receiver.js
index 5b9b51e..8b2c663 100755
--- a/shims/rhea-js/amqp_types_test/Receiver.js
+++ b/shims/rhea-js/amqp_types_test/Receiver.js
@@ -92,7 +92,7 @@ function Receiver(brokerAddr, brokerPort, queueName, 
amqpType, numTestValues) {
     };
 
     this.decodeTimestamp = function(msgBody) {
-        return "0x" + msgBody.getTime().toString('hex');
+        return "0x" + msgBody.getTime().toString(16);
     }
 
     this.decodeSigned = function(msgBody) {

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to