about summary refs log tree commit diff stats
path: root/docs/profanity-time.1
diff options
context:
space:
mode:
Diffstat (limited to 'docs/profanity-time.1')
-rw-r--r--docs/profanity-time.1131
1 files changed, 131 insertions, 0 deletions
diff --git a/docs/profanity-time.1 b/docs/profanity-time.1
new file mode 100644
index 00000000..3b397f80
--- /dev/null
+++ b/docs/profanity-time.1
@@ -0,0 +1,131 @@
+.TH man 1 "2022-10-12" "0.13.0" "Profanity XMPP client"
+
+.SH NAME
+/time
+
+.SH DESCRIPTION
+Configure time display preferences. Time formats are strings supported by g_date_time_format. See https://developer.gnome.org/glib/stable/glib-GDateTime.html#g-date-time-format for more details. Setting the format to an unsupported string, will display the string. If the format contains spaces, it must be surrounded with double quotes.
+
+.SH SYNOPSIS
+/time all|console|chat|muc|config|private|xml set <format>
+
+.LP
+/time all|console|chat|muc|config|private|xml off
+
+.LP
+/time statusbar set <format>
+
+.LP
+/time statusbar off
+
+.LP
+/time lastactivity set <format>
+
+.LP
+
+.SH ARGUMENTS
+.PP
+\fBconsole set <format>\fR
+.RS 4
+Set time format for console window.
+.RE
+.PP
+\fBconsole off\fR
+.RS 4
+Do not show time in console window.
+.RE
+.PP
+\fBchat set <format>\fR
+.RS 4
+Set time format for chat windows.
+.RE
+.PP
+\fBchat off\fR
+.RS 4
+Do not show time in chat windows.
+.RE
+.PP
+\fBmuc set <format>\fR
+.RS 4
+Set time format for chat room windows.
+.RE
+.PP
+\fBmuc off\fR
+.RS 4
+Do not show time in chat room windows.
+.RE
+.PP
+\fBconfig set <format>\fR
+.RS 4
+Set time format for config windows.
+.RE
+.PP
+\fBconfig off\fR
+.RS 4
+Do not show time in config windows.
+.RE
+.PP
+\fBprivate set <format>\fR
+.RS 4
+Set time format for private chat windows.
+.RE
+.PP
+\fBprivate off\fR
+.RS 4
+Do not show time in private chat windows.
+.RE
+.PP
+\fBxml set <format>\fR
+.RS 4
+Set time format for XML console window.
+.RE
+.PP
+\fBxml off\fR
+.RS 4
+Do not show time in XML console window.
+.RE
+.PP
+\fBstatusbar set <format>\fR
+.RS 4
+Change time format in statusbar.
+.RE
+.PP
+\fBstatusbar off\fR
+.RS 4
+Do not show time in status bar.
+.RE
+.PP
+\fBlastactivity set <format>\fR
+.RS 4
+Change time format for last activity.
+.RE
+.PP
+\fBall set <format>\fR
+.RS 4
+Set time for: console, chat, muc, config, private and xml windows.
+.RE
+.PP
+\fBall off\fR
+.RS 4
+Do not show time for: console, chat, muc, config, private and xml windows.
+.RE
+
+.SH EXAMPLES
+/time console set %H:%M:%S
+
+.LP
+/time chat set "%d-%m-%y %H:%M:%S"
+
+.LP
+/time xml off
+
+.LP
+/time statusbar set %H:%M
+
+.LP
+/time lastactivity set "%d-%m-%y %H:%M:%S"
+
+.LP
+/time all set "%d-%m-%y %H:%M:%S"
+
+.LP