You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Instructions/Labs/LAB_AK_03_develop_code_features.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -698,7 +698,7 @@ Use the following steps to complete this section of the exercise:
698
698
}
699
699
else
700
700
{
701
-
Console.WriteLine($"\"{book.Title}\" is on loan to another patron. The return due date is {loan.DueDate.ToString("d", CultureInfo.InvariantCulture)}.");
701
+
Console.WriteLine($"\"{book.Title}\" is on loan to another patron. The return due date is {loan.DueDate.ToString()}.");
702
702
}
703
703
704
704
return ConsoleState.PatronDetails;
@@ -721,7 +721,9 @@ Use the following steps to complete this section of the exercise:
721
721
722
722
Always review GitHub Copilot suggestions before accepting updates.
723
723
724
-
If you're unsure, you can accept changes and then ask GitHub Copilot for an explanation. You can revert the edits if you don't like the changes.
724
+
If you're unsure about the suggested updates, you can accept changes and then ask GitHub Copilot for an explanation. You can revert the edits if you decide against the updates.
725
+
726
+
> **NOTE**: If GitHub Copilot suggests formatting dates using culture-specific formats, you may need to add the following using statement to the ConsoleApp.cs file: `using System.Globalization;`
725
727
726
728
1. Ensure that you've accepted updates in both the ConsoleApp.cs and Program.cs files.
0 commit comments