Update the default name we use to save the workspace
This commit is contained in:
parent
1e0c030bbb
commit
7741b3a278
4 changed files with 5 additions and 4 deletions
|
|
@ -1285,7 +1285,7 @@ namespace MatterHackers.MatterControl
|
|||
string platingDirectory = Path.Combine(ApplicationDataStorage.Instance.ApplicationLibraryDataPath, "PrintHistory");
|
||||
Directory.CreateDirectory(platingDirectory);
|
||||
|
||||
string now = DateTime.Now.ToString("yyyyMMdd-HHmmss");
|
||||
string now = "Workspace " + DateTime.Now.ToString("yyyy-MM-dd HH_mm_ss");
|
||||
string archivePath = Path.Combine(platingDirectory, now + ".zip");
|
||||
|
||||
using (var file = File.OpenWrite(archivePath))
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
internal static ILibraryItem NewPlatingItem()
|
||||
{
|
||||
string now = DateTime.Now.ToString("yyyyMMdd-HHmmss");
|
||||
string now = "Workspace " + DateTime.Now.ToString("yyyy-MM-dd HH_mm_ss");
|
||||
string mcxPath = Path.Combine(ApplicationDataStorage.Instance.PlatingDirectory, now + ".mcx");
|
||||
|
||||
File.WriteAllText(mcxPath, new Object3D().ToJson());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue