Skip to content

mbeckenbach/datetime-issue

Repository files navigation

DateTime Bug Demo

A demonstration of the common .NET backend datetime bug where timezone information is missing from API responses, causing incorrect date displays in the frontend.

What this demonstrates

  • The problem: API returns datetime without timezone indicator (no 'Z' or offset)
  • Two correct approaches: ISO strings with UTC ('Z') or timezone offset (+XX:XX)
  • Why the bug happens and why it can't be reliably fixed on the frontend

How to run

npm install
ng serve

Open http://localhost:4200/ in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors