Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.03k stars 1.19k forks source link

Add support for skipping Date conversion for Application properties in Event Hubs JS SDK similar to Service Bus JS SDK #30809

Open ppgovekar opened 3 weeks ago

ppgovekar commented 3 weeks ago

Currently when we add Date as an Application Property, it is getting set correctly (from Portal): image

When receiving it using .NET SDK (from opensource SB Explorer) we get it in Date format: image

But when we receive it via Event Hubs JS SDK (from Portal) we get it in Unix timestamp: image

If we could add option similar to Service Bus JS SDK to skipConvertingDate then it will be easier for Portal to show date in correct format: image

Current Event Hubs SDK in use: "@azure/event-hubs": "^5.11.4" Current Service Bus SDK having this skipConvertingDate support: "@azure/service-bus": "7.10.0-beta.1"

github-actions[bot] commented 3 weeks ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @EldertGrootenboer.