Ignore:
Timestamp:
12/23/09 07:03:28 (5 years ago)
Author:
lowjoel
Message:

Standardise on the Crash Report Name to be YYYYMMDD HHMMSS.milli so that it'll be sorted in the Crash Reports directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/BlackBox/Eraser.Util/BlackBox.cs

    r1422 r1424  
    296296        { 
    297297            //Generate a unique identifier for this report. 
    298             string crashName = DateTime.Now.ToString(); 
    299             crashName = crashName.Replace('/', '-').Replace(":", ""); 
     298            string crashName = DateTime.Now.ToString("yyyyMMdd HHmmss.FFF"); 
    300299            string currentCrashReport = Path.Combine(CrashReportsPath, crashName); 
    301300            Directory.CreateDirectory(currentCrashReport); 
Note: See TracChangeset for help on using the changeset viewer.