NorthArrowResearch / champ-workbench

http://workbench.northarrowresearch.com/
GNU General Public License v3.0
0 stars 0 forks source link

Metric Definition UpdatedOn field #12

Closed philipbaileynar closed 7 years ago

philipbaileynar commented 7 years ago

When you create a new metric definition the UI returns to the metric grid and the new metric is present just fine. But the UpdatedOn field appears as blank, presumably because this is not getting set in the code and the value is not getting retrieved from the database either.

It's probably fine to simply set this value in the code. Remember to figure out if it should be UTC or local time.

philipbaileynar commented 7 years ago

Fixed. I just set the in-memory UpdatedOn value to DateTime.Now. In the rarest of situations this might be spotted by the user if the value in the DB differs from the in-memory value, but this would have to cross a minute barrier in a nano-second!