Function

Purplestr_seconds_to_string

since: 2.0

Declaration [src]

char*
purple_str_seconds_to_string (
  guint sec
)

Description [src]

Converts seconds into a human-readable form.

Available since: 2.0

Parameters

sec

Type: guint

The seconds.

Return value

Type: char*

A human-readable form, containing days, hours, minutes, and seconds.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.