Function
EvinceDocumentDocumentmisc_format_datetime
since: 3.38
Declaration [src]
gchar*
ev_document_misc_format_datetime (
GDateTime* dt
)
Description [src]
Determine the preferred date and time representation for the current locale for dt
.
Available since: 3.38
Parameters
dt
-
Type:
GDateTime
A
GDateTime
.The data is owned by the caller of the function.
Return value
Type: gchar*
A new allocated string or NULL in the case that there was an error (such as a format specifier not being supported in the current locale). The string should be freed with g_free().
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. |