summary refs log tree commit diff stats
path: root/src/ed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ed.rs')
-rw-r--r--src/ed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ed.rs b/src/ed.rs
index d51f5b0..059e411 100644
--- a/src/ed.rs
+++ b/src/ed.rs
@@ -25,7 +25,7 @@ lazy_static! {
 }
 
 fn create_tmp_file<'a>() -> Result<String, &'a str> {
-    let the_time = Utc::now().to_rfc2822();
+    let the_time = Utc::now().to_rfc3339();
     let file_name = format!("/tmp/clinte_ed_{}_{}", *user::NAME, the_time);
     match fs::write(&file_name, "") {
         Ok(_) => Ok(file_name),
> 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117