Skip to content

Commit

Permalink
Something went backwards with git. This should fix it.
Browse files Browse the repository at this point in the history
  • Loading branch information
suddjian committed May 11, 2024
1 parent e457fff commit 270e9fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/harmony/app/canvas.cpy
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ namespace app_ui:
sanitize_filename(self.project_name)
char filename[PATH_MAX]
datestr := self.vfb->get_date()
sanitize_filename(datestr)
datecstr := datestr.c_str()
sprintf(filename, "%s/%s-%s%s", SAVE_DIR,
self.project_name.c_str(), datecstr, ".png")
Expand Down Expand Up @@ -266,7 +265,6 @@ namespace app_ui:
sanitize_filename(layer.name)
char filename[PATH_MAX]
datestr := self.vfb->get_date()
sanitize_filename(datestr)
datecstr := datestr.c_str()
sprintf(filename, "%s/%s-%s%s", SAVE_DIR,
layer.name.c_str(), datecstr, ".png")
Expand Down Expand Up @@ -389,7 +387,6 @@ namespace app_ui:
run_command("tar", tar_args)

datestr := self.vfb->get_date()
sanitize_filename(datestr)
datecstr := datestr.c_str()
char filename[PATH_MAX]
sprintf(filename, "../%s.%s.hrm", self.project_name.c_str(), datecstr)
Expand Down
2 changes: 1 addition & 1 deletion src/rmkit/fb/fb.cpy
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ namespace framebuffer:
time (&rawtime);
timeinfo = localtime(&rawtime);

strftime(buffer,sizeof(buffer),"%Y-%m-%d-%H:%M:%S",timeinfo);
strftime(buffer,sizeof(buffer),"%Y-%m-%d-%H_%M_%S",timeinfo);
std::string str(buffer);

return str
Expand Down

0 comments on commit 270e9fd

Please # to comment.