We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62df3ae commit 3e59527Copy full SHA for 3e59527
src/code-listings/lesson-11.fsx
@@ -23,7 +23,7 @@ let buildDtThisMonth = buildDtThisYear DateTime.UtcNow.Month
23
// Listing 11.5
24
open System.IO
25
let writeToFile (date:DateTime) filename text =
26
- let path = sprintf "%O-%s.txt" (date.ToString "yyMMdd") filename
+ let path = sprintf "%s-%s.txt" (date.ToString "yyMMdd") filename
27
File.WriteAllText(path, text)
28
29
// Listing 11.6
0 commit comments