diff options
author | pommicket <pommicket@gmail.com> | 2023-01-25 20:02:25 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-25 20:02:25 -0500 |
commit | 8d7f51d70319b84627ed27cd8eb7b8f48fc2cb43 (patch) | |
tree | 8352fee10b782dd0bad8472c47463595dd62d7f1 | |
parent | f32e7c966f9b0de785e3e63a25de7db84d8016d5 (diff) |
use local time for screenshot file names
oops lol
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ target tags -screenshots +screenshots* *.swp *.out *.dll diff --git a/src/main.rs b/src/main.rs index bd3dc74..4403252 100644 --- a/src/main.rs +++ b/src/main.rs @@ -598,7 +598,7 @@ impl State { // there isnt anything to save . why did you set the scale so small... return Ok(()); } - let time = Utc::now(); + let time = Local::now(); let filename = time .format("screenshots/autosdf-%Y-%m-%d-%H-%M-%S.png") .to_string(); |