grantcolley / headway

A .NET 7.0 Blazor framework for building configurable applications fast. Supporting both hosting models, Blazor WebAssembly and Blazor Server, a WebApi for accessing data and an Identity Provider for authentication.
MIT License
35 stars 9 forks source link

FYI for the USA Audience #62

Closed VR-Architect closed 2 years ago

VR-Architect commented 2 years ago

Just an FYI, You have to change the dates in the Headway.SeedData project's _products.csv file to an American date format or it will crash on line 311.

grantcolley commented 2 years ago

I have updated the _products.csv seed file with dates persisted in the universal format "yyyy-MM-ddTHH:mm:ss.fffz". It is parsed at startup using DateTime.ParseExact(dateString, "yyyy-MM-ddTHH:mm:ss.fffz", null) where passing null for the provider specify the current culture be used for parsing the string - MSDN.

VR-Architect commented 2 years ago

Awesome response time. U rock!