Skip to content

Commit 3e59527

Browse files
committed
Simplify Lesson 11.
1 parent 62df3ae commit 3e59527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code-listings/lesson-11.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let buildDtThisMonth = buildDtThisYear DateTime.UtcNow.Month
2323
// Listing 11.5
2424
open System.IO
2525
let writeToFile (date:DateTime) filename text =
26-
let path = sprintf "%O-%s.txt" (date.ToString "yyMMdd") filename
26+
let path = sprintf "%s-%s.txt" (date.ToString "yyMMdd") filename
2727
File.WriteAllText(path, text)
2828

2929
// Listing 11.6

0 commit comments

Comments
 (0)