New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #9839] Implement support for formatting date/time #3224
Comments
Updated by mfrosch on 2015-08-06 10:57:30 +00:00
We should provide a Date object to format dates and output them via config calls. Output should be provided via functions, not macros :) |
Updated by mfriedrich on 2015-08-06 20:34:03 +00:00
|
Updated by mfriedrich on 2015-09-05 14:47:26 +00:00
|
Updated by mfriedrich on 2015-09-05 15:08:36 +00:00
|
Updated by gbeutner on 2015-10-14 13:10:43 +00:00
|
Updated by mfriedrich on 2016-02-24 23:42:49 +00:00
|
Updated by dgoetz on 2016-02-25 09:49:56 +00:00 It would also be nice to have the possibility to compare dates like in this use case. I want create an internal check to notify someone if a date set as customvariable is reached. This necessary for a tool handling certificates requiring to be renewed every year as a black box. This would require a function for the date object to get "now" and some comparison operators. |
Updated by Anonymous on 2016-03-29 11:22:41 +00:00
Applied in changeset 47575eb. |
Updated by gbeutner on 2016-03-29 11:22:57 +00:00
Still needs documentation. |
Updated by mfriedrich on 2016-03-29 11:27:45 +00:00
|
Updated by Anonymous on 2016-03-29 11:30:03 +00:00
Applied in changeset eb08922. |
Updated by mfriedrich on 2016-03-29 11:35:51 +00:00
Support arbitrarily long format strings in Utility::FormatDateTime(). |
Updated by mfriedrich on 2016-03-29 15:02:57 +00:00 For reference:
|
Updated by gbeutner on 2016-04-21 11:31:56 +00:00
Applied in changeset 5af437b. |
Updated by gbeutner on 2016-04-21 11:32:13 +00:00
|
Updated by gbeutner on 2016-04-21 12:07:06 +00:00
|
Updated by mfriedrich on 2016-05-02 07:19:23 +00:00
|
Updated by mfriedrich on 2016-05-13 16:29:01 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9839
Created by bsheqa on 2015-08-05 09:37:25 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2016-04-21 11:31:56 +00:00)
Target Version: 2.5.0
Last Update: 2016-05-02 07:19:23 +00:00 (in Redmine)
It would be nice to have a date() function which could be used for services. The function should support multiple formats, like 'date' on linux.
This is an example on how it may look:
Changesets
2016-03-29 11:22:34 +00:00 by (unknown) 47575eb
2016-03-29 11:27:20 +00:00 by (unknown) eb08922
2016-03-29 12:52:48 +00:00 by (unknown) 112f024
2016-04-21 11:31:12 +00:00 by gbeutner 5af437b
2016-04-21 12:04:56 +00:00 by gbeutner 46ff7bd
Relations:
The text was updated successfully, but these errors were encountered: