dm_html_time Function

public pure function dm_html_time(time, human) result(html)

Uses

  • proc~~dm_html_time~~UsesGraph proc~dm_html_time dm_html_time module~dm_time dm_time proc~dm_html_time->module~dm_time module~dm_error dm_error module~dm_time->module~dm_error module~dm_kind dm_kind module~dm_time->module~dm_kind module~dm_util dm_util module~dm_time->module~dm_util module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env module~dm_util->module~dm_error module~dm_util->module~dm_kind

Returns <time> element with datetime attribute, and the encoded ISO 8601 time stamp time enclosed. This function does not validate or encode the passed time stamp. The value of the datetime attribute is extracted from the time stamp and converted according to the HTML specification (with microseconds stripped).

If optional argument human is passed and .true., the output format of the time stamp will be changed to the slightly more human-readable format 1970-01-01 00:00:00 +00:00.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: time

ISO 8601 time stamp.

logical, intent(in), optional :: human

Turn time stamp into human-readable format.

Return Value character(len=:), allocatable

Generated HTML.


Calls

proc~~dm_html_time~~CallsGraph proc~dm_html_time dm_html_time proc~dm_time_strip_useconds dm_time_strip_useconds proc~dm_html_time->proc~dm_time_strip_useconds proc~dm_time_to_human dm_time_to_human proc~dm_html_time->proc~dm_time_to_human

Called by

proc~~dm_html_time~~CalledByGraph proc~dm_html_time dm_html_time proc~dm_html_beat dm_html_beat proc~dm_html_beat->proc~dm_html_time proc~dm_html_beats dm_html_beats proc~dm_html_beats->proc~dm_html_time proc~dm_html_logs dm_html_logs proc~dm_html_logs->proc~dm_html_time proc~dm_html_observs dm_html_observs proc~dm_html_observs->proc~dm_html_time