Skip to content
This repository was archived by the owner on Aug 22, 2026. It is now read-only.

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages