Skip to content

Commit

Permalink
TH-121015: set permit issued date to unspecified format when printing…
Browse files Browse the repository at this point in the history
… inspection
  • Loading branch information
bcgov-brwang committed Sep 27, 2024
1 parent 9c8a234 commit 01e5ca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Server/SchoolBusAPI/Services/SchoolBusService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ public virtual IActionResult SchoolbusesIdNewpermitPutAsync(int id)

item.PermitNumber = permit;
item.PermitIssueDate = DateTime.UtcNow;
item.PermitIssueDate = DateTime.SpecifyKind(item.PermitIssueDate.GetValueOrDefault(), DateTimeKind.Unspecified);

_context.SchoolBuss.Update(item);
_context.SaveChanges();
Expand Down

0 comments on commit 01e5ca0

Please sign in to comment.