Commit 5d6e2b49 authored by ThibautDemare's avatar ThibautDemare

Improve filename generation with a readable name

parent 1f518ada
......@@ -827,8 +827,8 @@ global {
string csvFilenameParams;
reflex initCSVFile when: saveObservations and date_simu_starts = nil {
// TODO : when gama dev will have republish as_system_date "%Y-%M-%D-%h-%m-%s", use it instead
date_simu_starts <- ""+gama.machine_time;// as_system_date "%Y-%M-%D-%h-%m-%s";
date n <- date("now");
date_simu_starts <- ""+ n.year + "-" + n.month + "-" + n.day + "-" + n.hour + "-" + n.minute + "-" + n.second;
csvFilenameParams <- setParams();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment