Skip to content

Commit

Permalink
Forgot that the config exporter uses the same time format
Browse files Browse the repository at this point in the history
StollD committed Aug 10, 2018

Verified

This commit was signed with the committer’s verified signature.
StollD Dorian Stoll
1 parent 0854109 commit 71be0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kopernicus/Configuration/Body.cs
Original file line number Diff line number Diff line change
@@ -222,7 +222,7 @@ public void ExportConfig()

// Save the node
String dir = "GameData/KittopiaTech/PluginData/" + celestialBody.transform.name + "/" +
DateTime.Now.ToString("s");
DateTime.Now.ToString("yyyy-MM-dd_hh-mm-ss");
Directory.CreateDirectory(KSPUtil.ApplicationRootPath + dir);
wrapper.Save(dir + "/" + name + ".cfg",
"KittopiaTech - a Kopernicus Visual Editor");

0 comments on commit 71be0a5

Please sign in to comment.