[yast-commit] <rest-service> schubi_after_release : nicer date/time format (bnc#558360)
ref: refs/heads/schubi_after_release commit 1cdc8386786fd9b89d9ecd803c68e528e93465bf Author: Stefan Schubert <schubi@suse.de> Date: Thu Dec 10 17:37:32 2009 +0100 nicer date/time format (bnc#558360) --- plugins/status/lib/status.rb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/plugins/status/lib/status.rb b/plugins/status/lib/status.rb index 9c661fe..6836fa9 100644 --- a/plugins/status/lib/status.rb +++ b/plugins/status/lib/status.rb @@ -12,7 +12,8 @@ class CollectdOutOfSyncError < BackendException xml.error do xml.type "COLLECTD_SYNC_ERROR" - xml.description "Collectd is out of sync. Status information can be expected at #{Time.at(@timestamp.to_i).inspect}." + xml.description "Collectd is out of sync. Status information can be expected at #{Time.at(@timestamp.to_i).ctime}." + xml.timestamp @timestamp end end -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Stefan Schubert