[tomboy] Aaron Burgemeister * Updated patch to rework date format for standards, sorting, and precision. * Ad



commit a3fa5c9e9e44eff1de31ff1fef9ae1efb0825c6d
Author: Jared Jennings <jared jaredjennings org>
Date:   Fri Nov 22 11:24:08 2013 -0600

    Aaron Burgemeister
    * Updated patch to rework date format for standards, sorting, and precision.
    * Added seconds to the title (Catalog.GetString ("MMMM d yyyy, h:mm:ss tt")) so
     that the application doesn't loop continuously for the remainder of the minute
    trying to create a note, something an uninformed user could see as a program
    lockup.

 Tomboy/NoteManager.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/Tomboy/NoteManager.cs b/Tomboy/NoteManager.cs
index e8c2657..43a1939 100644
--- a/Tomboy/NoteManager.cs
+++ b/Tomboy/NoteManager.cs
@@ -477,8 +477,7 @@ Ciao!");
                        string temp_title;
 
                        while (true) {
-                               temp_title = String.Format (Catalog.GetString ("New Note {0}"),
-                                                           ++new_num);
+                temp_title = String.Format (Catalog.GetString ("Note from {0}"), DateTime.Now.ToString ( 
Catalog.GetString ("yyyy-MM-dd HH:mm:ss.fff")));
                                if (Find (temp_title) == null)
                                        break;
                        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]