Method

PurpleMessageformat_timestamp

unstable since: 3.0

Declaration [src]

char*
purple_message_format_timestamp (
  PurpleMessage* message,
  const char* format
)

Description [src]

Formats the timestamp of message and returns it.

Available since: 3.0

Parameters

format

Type: const char*

The format to output the time stamp as.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: char*

The formatted timestamp.

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