Hello community, here is the log from the commit of package yast2-journal for openSUSE:Factory checked in at 2015-07-08 06:59:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-journal (Old) and /work/SRC/openSUSE:Factory/.yast2-journal.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-journal" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-journal/yast2-journal.changes 2015-06-09 08:50:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-journal.new/yast2-journal.changes 2015-07-08 06:59:13.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Jun 29 14:16:12 UTC 2015 - an...@suse.com + +- Honor internationalization settings when displaying dates + (improvements for fate#318486). +- 0.2.3 + +------------------------------------------------------------------- Old: ---- yast2-journal-0.2.2.tar.bz2 New: ---- yast2-journal-0.2.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-journal.spec ++++++ --- /var/tmp/diff_new_pack.QNQfv0/_old 2015-07-08 06:59:14.000000000 +0200 +++ /var/tmp/diff_new_pack.QNQfv0/_new 2015-07-08 06:59:14.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-journal -Version: 0.2.2 +Version: 0.2.3 Release: 0 BuildArch: noarch @@ -26,13 +26,14 @@ # First version with base Dialog class Requires: yast2 >= 3.1.117 -Requires: yast2-ruby-bindings +# Yast::Builtins::strftime +Requires: yast2-ruby-bindings >= 3.1.38 BuildRequires: update-desktop-files -# First version with the RSpec extensions +# Yast::Builtins::strftime BuildRequires: yast2 BuildRequires: yast2-devtools -BuildRequires: yast2-ruby-bindings >= 3.1.26 +BuildRequires: yast2-ruby-bindings >= 3.1.38 #for install task BuildRequires: rubygem(yast-rake) # for tests ++++++ yast2-journal-0.2.2.tar.bz2 -> yast2-journal-0.2.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-journal-0.2.2/package/yast2-journal.changes new/yast2-journal-0.2.3/package/yast2-journal.changes --- old/yast2-journal-0.2.2/package/yast2-journal.changes 2015-06-08 13:21:09.000000000 +0200 +++ new/yast2-journal-0.2.3/package/yast2-journal.changes 2015-06-29 17:52:26.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Jun 29 14:16:12 UTC 2015 - an...@suse.com + +- Honor internationalization settings when displaying dates + (improvements for fate#318486). +- 0.2.3 + +------------------------------------------------------------------- Mon Jun 8 10:55:13 UTC 2015 - an...@suse.com - Include the package in SLE12-SP1 fate#318486 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-journal-0.2.2/package/yast2-journal.spec new/yast2-journal-0.2.3/package/yast2-journal.spec --- old/yast2-journal-0.2.2/package/yast2-journal.spec 2015-02-06 17:44:04.000000000 +0100 +++ new/yast2-journal-0.2.3/package/yast2-journal.spec 2015-07-01 09:32:36.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-journal -Version: 0.2.2 +Version: 0.2.3 Release: 0 BuildArch: noarch @@ -26,11 +26,12 @@ # First version with base Dialog class Requires: yast2 >= 3.1.117 -Requires: yast2-ruby-bindings +# Yast::Builtins::strftime +Requires: yast2-ruby-bindings >= 3.1.38 BuildRequires: update-desktop-files -# First version with the RSpec extensions -BuildRequires: yast2-ruby-bindings >= 3.1.26 +# Yast::Builtins::strftime +BuildRequires: yast2-ruby-bindings >= 3.1.38 BuildRequires: yast2-devtools BuildRequires: yast2 #for install task diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-journal-0.2.2/src/lib/systemd_journal/entries_dialog.rb new/yast2-journal-0.2.3/src/lib/systemd_journal/entries_dialog.rb --- old/yast2-journal-0.2.2/src/lib/systemd_journal/entries_dialog.rb 2015-01-30 15:27:23.000000000 +0100 +++ new/yast2-journal-0.2.3/src/lib/systemd_journal/entries_dialog.rb 2015-07-01 09:32:36.000000000 +0200 @@ -30,7 +30,7 @@ class EntriesDialog < UI::Dialog def initialize super - textdomain "systemd_journal" + textdomain "journal" @query = QueryPresenter.new execute_query diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-journal-0.2.2/src/lib/systemd_journal/entry_presenter.rb new/yast2-journal-0.2.3/src/lib/systemd_journal/entry_presenter.rb --- old/yast2-journal-0.2.2/src/lib/systemd_journal/entry_presenter.rb 2015-01-30 15:27:23.000000000 +0100 +++ new/yast2-journal-0.2.3/src/lib/systemd_journal/entry_presenter.rb 2015-06-29 17:52:26.000000000 +0200 @@ -18,11 +18,11 @@ require "systemd_journal/entry" require "delegate" +require "yast" module SystemdJournal # Presenter for Entry adding useful methods for the dialogs class EntryPresenter < SimpleDelegator - # FIXME: using %b is not i18n-friendly TIME_FORMAT = "%b %d %H:%M:%S" def initialize(entry) @@ -47,7 +47,7 @@ # User readable representation of the timestamp def formatted_time - timestamp.strftime(TIME_FORMAT) + Yast::Builtins.strftime(timestamp, TIME_FORMAT) end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-journal-0.2.2/src/lib/systemd_journal/query_dialog.rb new/yast2-journal-0.2.3/src/lib/systemd_journal/query_dialog.rb --- old/yast2-journal-0.2.2/src/lib/systemd_journal/query_dialog.rb 2015-02-06 17:44:04.000000000 +0100 +++ new/yast2-journal-0.2.3/src/lib/systemd_journal/query_dialog.rb 2015-07-01 09:32:36.000000000 +0200 @@ -39,7 +39,7 @@ def initialize(query) super() - textdomain "systemd_journal" + textdomain "journal" @query = query end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-journal-0.2.2/src/lib/systemd_journal/query_presenter.rb new/yast2-journal-0.2.3/src/lib/systemd_journal/query_presenter.rb --- old/yast2-journal-0.2.2/src/lib/systemd_journal/query_presenter.rb 2015-01-30 15:27:23.000000000 +0100 +++ new/yast2-journal-0.2.3/src/lib/systemd_journal/query_presenter.rb 2015-07-01 09:32:36.000000000 +0200 @@ -19,19 +19,19 @@ require "systemd_journal/query" require "systemd_journal/entry_presenter" require "delegate" +require "yast" module SystemdJournal # Presenter for Query adding useful methods for the dialogs class QueryPresenter < SimpleDelegator include Yast::I18n extend Yast::I18n - textdomain "systemd_journal" + textdomain "journal" - # FIXME: using %b is not i18n-friendly TIME_FORMAT = "%b %d %H:%M:%S" def initialize(args = {}) - textdomain "systemd_journal" + textdomain "journal" # Redefine default values query_args = { @@ -84,8 +84,8 @@ _("From previous boot") else dates = { - since: interval[:since].strftime(TIME_FORMAT), - until: interval[:until].strftime(TIME_FORMAT) + since: Yast::Builtins.strftime(interval[:since], TIME_FORMAT), + until: Yast::Builtins.strftime(interval[:until], TIME_FORMAT) } _("Between %{since} and %{until}") % dates end