Do not use colons in file names, it's not supported by windows
authorMarek Habersack <grendel@twistedcode.net>
Sun, 7 Feb 2010 08:44:06 +0000 (08:44 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Sun, 7 Feb 2010 08:44:06 +0000 (08:44 -0000)
svn path=/trunk/mcs/; revision=150996

mcs/class/System.Web/System.Web.Caching/CacheItemPriorityQueueDebug.cs

index 5dc7f73793ce0a8f697edcc8645d658c119682ba..60ed1be8ed050bd39907b7be502dd207b196d87f 100644 (file)
@@ -152,7 +152,7 @@ namespace System.Web.Caching
                        }
 
                        try {
-                               string filePath = Path.Combine (HttpRuntime.AppDomainAppPath, String.Format ("cache_pq_sequence_{0}.seq", DateTime.UtcNow.ToString ("yyyy-MM-dd_hh:mm:ss")));
+                               string filePath = Path.Combine (HttpRuntime.AppDomainAppPath, String.Format ("cache_pq_sequence_{0}.seq", DateTime.UtcNow.ToString ("yyyy-MM-dd_hh-mm-ss")));
                                var settings = new XmlWriterSettings ();
                                settings.Indent = true;
                                settings.IndentChars = "\t";