diff --git a/Sample Applications/StickyNotesDemo/MainWindow.cs b/Sample Applications/StickyNotesDemo/MainWindow.cs index d7489200e..8fb42af8f 100644 --- a/Sample Applications/StickyNotesDemo/MainWindow.cs +++ b/Sample Applications/StickyNotesDemo/MainWindow.cs @@ -223,14 +223,14 @@ private void ExtractValues(out int contentIndicator, string line, out double hei var seconds = (int) double.Parse(token); tail = index + 1; - index = line.IndexOf('/', tail); + index = line.IndexOf('-', tail); token = line.Substring(tail, (index - tail)); - var month = int.Parse(token); + var day = int.Parse(token); tail = index + 1; - index = line.IndexOf('/', tail); + index = line.IndexOf('-', tail); token = line.Substring(tail, (index - tail)); - var day = int.Parse(token); + var month = int.Parse(token); tail = index + 1; index = line.IndexOf('|', tail);