Hello community,

here is the log from the commit of package yast2-snapper for openSUSE:Factory 
checked in at 2014-05-27 18:23:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-snapper (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-snapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-snapper"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-snapper/yast2-snapper.changes      
2014-05-10 08:31:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-snapper.new/yast2-snapper.changes 
2014-05-27 18:23:40.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 26 16:54:22 CEST 2014 - [email protected]
+
+- avoid time format that needs translation (bnc#878613)
+- 3.1.3
+
+-------------------------------------------------------------------

Old:
----
  yast2-snapper-3.1.2.tar.bz2

New:
----
  yast2-snapper-3.1.3.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-snapper.spec ++++++
--- /var/tmp/diff_new_pack.h13kmx/_old  2014-05-27 18:23:43.000000000 +0200
+++ /var/tmp/diff_new_pack.h13kmx/_new  2014-05-27 18:23:43.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-snapper
-Version:        3.1.2
+Version:        3.1.3
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-snapper-3.1.2.tar.bz2 -> yast2-snapper-3.1.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.1.2/package/yast2-snapper.changes 
new/yast2-snapper-3.1.3/package/yast2-snapper.changes
--- old/yast2-snapper-3.1.2/package/yast2-snapper.changes       2014-05-07 
10:51:44.000000000 +0200
+++ new/yast2-snapper-3.1.3/package/yast2-snapper.changes       2014-05-26 
17:06:44.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon May 26 16:54:22 CEST 2014 - [email protected]
+
+- avoid time format that needs translation (bnc#878613)
+- 3.1.3
+
+-------------------------------------------------------------------
 Tue May 06 16:23:35 CEST 2014 - [email protected]
 
 - improved error message on systems with no snapper configs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.1.2/package/yast2-snapper.spec 
new/yast2-snapper-3.1.3/package/yast2-snapper.spec
--- old/yast2-snapper-3.1.2/package/yast2-snapper.spec  2014-05-07 
10:51:44.000000000 +0200
+++ new/yast2-snapper-3.1.3/package/yast2-snapper.spec  2014-05-26 
17:06:44.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-snapper
-Version:        3.1.2
+Version:        3.1.3
 Release:        0
 Group:         System/YaST
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.1.2/src/include/snapper/dialogs.rb 
new/yast2-snapper-3.1.3/src/include/snapper/dialogs.rb
--- old/yast2-snapper-3.1.2/src/include/snapper/dialogs.rb      2014-05-07 
10:51:44.000000000 +0200
+++ new/yast2-snapper-3.1.3/src/include/snapper/dialogs.rb      2014-05-26 
17:06:44.000000000 +0200
@@ -43,6 +43,12 @@
       Yast.include include_target, "snapper/helps.rb"
     end
 
+
+    def timestring(t)
+      return Time.at(t).strftime("%F %T")
+    end
+
+
     def ReallyAbort
       Popup.ReallyAbort(true)
     end
@@ -376,11 +382,7 @@
           num = Ops.get_integer(s, "num", 0)
           date = ""
           if num != 0
-            date = Builtins.timestring(
-              "%c",
-              Ops.get_integer(s, "date", 0),
-              false
-            )
+            date = timestring(Ops.get_integer(s, ["date"], 0))
           end
           userdata = userdata2string(Ops.get_map(s, "userdata", {}))
           if Ops.get_symbol(s, "type", :none) == :SINGLE
@@ -408,11 +410,7 @@
               next
             end
             desc = Ops.get_string(Snapper.snapshots, [index, "description"], 
"")
-            pre_date = Builtins.timestring(
-              "%c",
-              Ops.get_integer(Snapper.snapshots, [index, "date"], 0),
-              false
-            )
+            pre_date = timestring(Ops.get_integer(Snapper.snapshots, [index, 
"date"], 0))
             snapshot_items = Builtins.add(
               snapshot_items,
               Item(
@@ -612,16 +610,8 @@
         [pre_index, "description"],
         ""
       )
-      pre_date = Builtins.timestring(
-        "%c",
-        Ops.get_integer(Snapper.snapshots, [pre_index, "date"], 0),
-        false
-      )
-      date = Builtins.timestring(
-        "%c",
-        Ops.get_integer(snapshot, "date", 0),
-        false
-      )
+      pre_date = timestring(Ops.get_integer(Snapper.snapshots, [pre_index, 
"date"], 0))
+      date = timestring(Ops.get_integer(snapshot, "date", 0))
       type = Ops.get_symbol(snapshot, "type", :NONE)
       combo_items = []
       Builtins.foreach(Snapper.snapshots) do |s|

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to