[shotwell/shotwell-0.24] Add debug output of shotwell's current timezone



commit 7424c5ddadfaee627641cd884423a32fa5afc330
Author: Jens Georg <mail jensge org>
Date:   Wed Sep 21 21:00:47 2016 +0200

    Add debug output of shotwell's current timezone
    
    Support debugging of date/time related issues
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/main.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index 2df29ed..bbd3317 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -385,6 +385,9 @@ void main(string[] args) {
         message("Shotwell %s %s",
             is_string_empty(filename) ? Resources.APP_LIBRARY_ROLE : Resources.APP_DIRECT_ROLE,
             Resources.APP_VERSION);
+
+    debug ("Shotwell is running in timezone %s", new
+           DateTime.now_local().get_timezone_abbreviation ());
         
     // Have a filename here?  If so, configure ourselves for direct
     // mode, otherwise, default to library mode.


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