Serverless changing DateTimeOffset value timezones
See original GitHub issueDescribe the bug
When sending messages from a Functions backend to SignalR serverless, which contain DateTimeOffset
timestamps, the messages are arriving at the Client having had their Offset changed.
(Am seeing the +8 hr timezone, which is not a timezone that any of my Function or App Services are running in)
To Reproduce
Send a message to SignalR serverless which contains a DateTimeOffset value which has, for example, no Offset so is UTC. Observe that the client receives the message with the Offset changed to a different Timezone.
This occurs whether sending the message via Azure Function Output Bindings, or using the Management SDK.
Logging the value of the DateTimeOffset before sending shows that it has the correct Timezone/Offset.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Changing timezone for lambdas to EST?
1 Answer 1 ... Lambda env var docs: TZ – The environment's time zone (UTC). The execution environment uses NTP to synchronize the...
Read more >Being Explicit About Time when Handling Multiple Timezone
Handling date/time in application's that affect different time zones is tricky! The general recommendation is that all dates be saved in UTC ...
Read more >Timezones with Node, MySQL, and AWS Lambda - Chris Hand
Most of the time, your database server will be set to UTC, or Coordinated Universal Time. This is the primary standard time of...
Read more >C# DateTimeOffset
In this tutorial, you'll learn how to use the C# DateTimeOffset to handle date and time values with the time zone offset.
Read more >Converting times between time zones
This article explains how to convert times from one time zone to another and convert DateTimeOffset values that have limited time zone ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@oatsoda The fix has been applied to all the regions.
@andrew-tevent The code to fix the issue in the service side is merged, but it will take about two months to be released. I will keep you updated in the future.