commit fb9e0fd
default
·
2025-04-13 08:04:31 +0000 UTC
parent d78bd5a
Mention the timezone in the 'post date and time' prompt.
1 files changed,
+3,
-1
M
html.c
M
html.c
+3,
-1
1@@ -455,13 +455,15 @@ xs_html *html_note(snac *user, const char *summary,
2 }
3
4 if (edit_id == NULL || is_draft || is_scheduled(user, edit_id)) {
5+ xs *pdat = xs_fmt(L("Post date and time (timezone: %s):"), xs_dict_get_def(user->config, "tz", "UTC"));
6+
7 xs_html_add(form,
8 xs_html_tag("p",
9 xs_html_tag("details",
10 xs_html_tag("summary",
11 xs_html_text(L("Scheduled post..."))),
12 xs_html_tag("p",
13- xs_html_text(L("Post date and time:")),
14+ xs_html_text(pdat),
15 xs_html_sctag("br", NULL),
16 xs_html_sctag("input",
17 xs_html_attr("type", "date"),