[icinga-checkins] icinga.org: icingaweb2/bugfix/correct-duration-formatting-6778: Icinga Web view helpers: add TODO

git at icinga.org git at icinga.org
Thu Nov 27 18:29:30 CET 2014


Module: icingaweb2
Branch: bugfix/correct-duration-formatting-6778
Commit: eaf334790a025cd097a880adbc93aac0b28791a0
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=eaf334790a025cd097a880adbc93aac0b28791a0

Author: Alexander Klimov <alexander.klimov at netways.de>
Date:   Thu Nov 27 18:23:56 2014 +0100

Icinga Web view helpers: add TODO

refs #6778

---

 library/Icinga/Web/View/helpers/format.php |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/library/Icinga/Web/View/helpers/format.php b/library/Icinga/Web/View/helpers/format.php
index a203f2f..1f2cdcd 100644
--- a/library/Icinga/Web/View/helpers/format.php
+++ b/library/Icinga/Web/View/helpers/format.php
@@ -11,6 +11,11 @@ $this->addHelperFunction('format', function () {
     return Format::getInstance();
 });
 
+/* TODO:
+ * drop the following 4 helpers
+ * after replacing all their usages w/ dateTimeRenderer
+ */
+
 $this->addHelperFunction('timeSince', function ($timestamp) {
     return sprintf(
         '<span class="timesince" title="%s">%s</span>',



More information about the icinga-checkins mailing list