Set end time for events

merge-requests/30/head
Bob Mottram 2022-05-23 13:14:36 +01:00
parent 5dd2910e11
commit cfd15a6206
31 changed files with 177 additions and 72 deletions

View File

@ -526,6 +526,7 @@ class PubServer(BaseHTTPRequestHandler):
schedule_post = False schedule_post = False
event_date = None event_date = None
event_time = None event_time = None
event_end_time = None
location = None location = None
conversation_id = None conversation_id = None
city = get_spoofed_city(self.server.city, city = get_spoofed_city(self.server.city,
@ -552,7 +553,7 @@ class PubServer(BaseHTTPRequestHandler):
subject, subject,
schedule_post, schedule_post,
event_date, event_date,
event_time, event_time, event_end_time,
location, False, location, False,
self.server.system_language, self.server.system_language,
conversation_id, conversation_id,
@ -18835,6 +18836,8 @@ class PubServer(BaseHTTPRequestHandler):
fields['eventDate'] = None fields['eventDate'] = None
if not fields.get('eventTime'): if not fields.get('eventTime'):
fields['eventTime'] = None fields['eventTime'] = None
if not fields.get('eventEndTime'):
fields['eventEndTime'] = None
if not fields.get('location'): if not fields.get('location'):
fields['location'] = None fields['location'] = None
if not fields.get('languagesDropdown'): if not fields.get('languagesDropdown'):
@ -18905,6 +18908,7 @@ class PubServer(BaseHTTPRequestHandler):
fields['schedulePost'], fields['schedulePost'],
fields['eventDate'], fields['eventDate'],
fields['eventTime'], fields['eventTime'],
fields['eventEndTime'],
fields['location'], False, fields['location'], False,
fields['languagesDropdown'], fields['languagesDropdown'],
conversation_id, conversation_id,
@ -18999,6 +19003,7 @@ class PubServer(BaseHTTPRequestHandler):
fields['schedulePost'], fields['schedulePost'],
fields['eventDate'], fields['eventDate'],
fields['eventTime'], fields['eventTime'],
fields['eventEndTime'],
fields['location'], fields['location'],
fields['languagesDropdown'], fields['languagesDropdown'],
conversation_id, conversation_id,
@ -19162,6 +19167,7 @@ class PubServer(BaseHTTPRequestHandler):
fields['schedulePost'], fields['schedulePost'],
fields['eventDate'], fields['eventDate'],
fields['eventTime'], fields['eventTime'],
fields['eventEndTime'],
fields['location'], fields['location'],
fields['languagesDropdown'], fields['languagesDropdown'],
conversation_id, conversation_id,
@ -19223,6 +19229,7 @@ class PubServer(BaseHTTPRequestHandler):
fields['schedulePost'], fields['schedulePost'],
fields['eventDate'], fields['eventDate'],
fields['eventTime'], fields['eventTime'],
fields['eventEndTime'],
fields['location'], fields['location'],
fields['languagesDropdown'], fields['languagesDropdown'],
conversation_id, conversation_id,
@ -19296,6 +19303,7 @@ class PubServer(BaseHTTPRequestHandler):
fields['schedulePost'], fields['schedulePost'],
fields['eventDate'], fields['eventDate'],
fields['eventTime'], fields['eventTime'],
fields['eventEndTime'],
fields['location'], fields['location'],
fields['languagesDropdown'], fields['languagesDropdown'],
conversation_id, conversation_id,
@ -19361,6 +19369,7 @@ class PubServer(BaseHTTPRequestHandler):
True, fields['schedulePost'], True, fields['schedulePost'],
fields['eventDate'], fields['eventDate'],
fields['eventTime'], fields['eventTime'],
fields['eventEndTime'],
fields['location'], fields['location'],
fields['languagesDropdown'], fields['languagesDropdown'],
conversation_id, conversation_id,

View File

@ -472,6 +472,7 @@ def _desktop_reply_to_post(session, post_id: str,
say_str = 'Sending reply' say_str = 'Sending reply'
event_date = None event_date = None
event_time = None event_time = None
event_end_time = None
location = None location = None
_say_command(say_str, say_str, screenreader, system_language, espeak) _say_command(say_str, say_str, screenreader, system_language, espeak)
if send_post_via_server(signing_priv_key_pem, __version__, if send_post_via_server(signing_priv_key_pem, __version__,
@ -484,7 +485,7 @@ def _desktop_reply_to_post(session, post_id: str,
cached_webfingers, person_cache, is_article, cached_webfingers, person_cache, is_article,
system_language, languages_understood, system_language, languages_understood,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
event_date, event_time, location, event_date, event_time, event_end_time, location,
debug, post_id, post_id, debug, post_id, post_id,
conversation_id, subject) == 0: conversation_id, subject) == 0:
say_str = 'Reply sent' say_str = 'Reply sent'
@ -545,6 +546,7 @@ def _desktop_new_post(session,
say_str = 'Sending' say_str = 'Sending'
event_date = None event_date = None
event_time = None event_time = None
event_end_time = None
location = None location = None
_say_command(say_str, say_str, screenreader, system_language, espeak) _say_command(say_str, say_str, screenreader, system_language, espeak)
if send_post_via_server(signing_priv_key_pem, __version__, if send_post_via_server(signing_priv_key_pem, __version__,
@ -557,7 +559,7 @@ def _desktop_new_post(session,
cached_webfingers, person_cache, is_article, cached_webfingers, person_cache, is_article,
system_language, languages_understood, system_language, languages_understood,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
event_date, event_time, location, event_date, event_time, event_end_time, location,
debug, None, None, debug, None, None,
conversation_id, subject) == 0: conversation_id, subject) == 0:
say_str = 'Post sent' say_str = 'Post sent'
@ -1278,6 +1280,7 @@ def _desktop_new_dm_base(session, to_handle: str,
event_date = None event_date = None
event_time = None event_time = None
event_end_time = None
location = None location = None
say_str = 'Sending' say_str = 'Sending'
@ -1292,7 +1295,7 @@ def _desktop_new_dm_base(session, to_handle: str,
cached_webfingers, person_cache, is_article, cached_webfingers, person_cache, is_article,
system_language, languages_understood, system_language, languages_understood,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
event_date, event_time, location, event_date, event_time, event_end_time, location,
debug, None, None, debug, None, None,
conversation_id, subject) == 0: conversation_id, subject) == 0:
say_str = 'Direct message sent' say_str = 'Direct message sent'

View File

@ -130,6 +130,10 @@ parser.add_argument('--eventTime', type=str,
default=None, default=None,
help='Time for an event when sending a c2s post' + help='Time for an event when sending a c2s post' +
' HH:MM') ' HH:MM')
parser.add_argument('--eventEndTime', type=str,
default=None,
help='Time when an event ends when sending a c2s post' +
' HH:MM')
parser.add_argument('--eventLocation', type=str, parser.add_argument('--eventLocation', type=str,
default=None, default=None,
help='Location for an event when sending a c2s post') help='Location for an event when sending a c2s post')
@ -1445,7 +1449,12 @@ if args.message:
if args.eventTime: if args.eventTime:
if ':' not in args.eventTime or len(args.eventTime) != 5: if ':' not in args.eventTime or len(args.eventTime) != 5:
print('Event time format should be HH:MM') print('Event start time format should be HH:MM')
sys.exit()
if args.eventEndTime:
if ':' not in args.eventEndTime or len(args.eventEndTime) != 5:
print('Event end time format should be HH:MM')
sys.exit() sys.exit()
if not args.password: if not args.password:
@ -1523,7 +1532,8 @@ if args.message:
args.language, languages_understood, args.language, languages_understood,
args.low_bandwidth, args.low_bandwidth,
args.content_license_url, args.content_license_url,
args.eventDate, args.eventTime, args.eventLocation, args.eventDate, args.eventTime, args.eventEndTime,
args.eventLocation,
args.debug, args.debug,
reply_to, reply_to, args.conversationId, subject) reply_to, reply_to, args.conversationId, subject)
for i in range(10): for i in range(10):
@ -3155,6 +3165,7 @@ if args.testdata:
test_schedule_post = False test_schedule_post = False
test_event_date = None test_event_date = None
test_event_time = None test_event_time = None
test_event_end_time = None
test_location = None test_location = None
test_is_article = False test_is_article = False
conversation_id = None conversation_id = None
@ -3171,7 +3182,8 @@ if args.testdata:
test_media_type, test_image_description, test_city, test_media_type, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)
@ -3185,7 +3197,8 @@ if args.testdata:
test_media_type, test_image_description, test_city, test_media_type, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)
@ -3199,7 +3212,8 @@ if args.testdata:
test_media_type, test_image_description, test_city, test_media_type, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)
@ -3213,7 +3227,8 @@ if args.testdata:
test_media_type, test_image_description, test_city, test_media_type, test_image_description, test_city,
'someone', test_in_reply_to_atom_uri, 'someone', test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)
@ -3228,7 +3243,8 @@ if args.testdata:
'Description of image', test_city, 'Description of image', test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)
@ -3242,7 +3258,8 @@ if args.testdata:
test_media_type, test_image_description, test_city, test_media_type, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)
@ -3256,7 +3273,8 @@ if args.testdata:
test_media_type, test_image_description, test_city, test_media_type, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)
@ -3270,7 +3288,8 @@ if args.testdata:
test_media_type, test_image_description, test_city, test_media_type, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time, test_event_end_time,
test_location,
test_is_article, args.language, conversation_id, test_is_article, args.language, conversation_id,
low_bandwidth, args.content_license_url, low_bandwidth, args.content_license_url,
languages_understood) languages_understood)

View File

@ -3185,6 +3185,7 @@ def _bounce_dm(senderPostId: str, session, http_prefix: str,
schedule_post = False schedule_post = False
event_date = None event_date = None
event_time = None event_time = None
event_end_time = None
location = None location = None
conversation_id = None conversation_id = None
low_bandwidth = False low_bandwidth = False
@ -3197,8 +3198,8 @@ def _bounce_dm(senderPostId: str, session, http_prefix: str,
image_description, city, image_description, city,
in_reply_to, in_reply_to_atom_uri, in_reply_to, in_reply_to_atom_uri,
subject, debug, schedule_post, subject, debug, schedule_post,
event_date, event_time, location, event_date, event_time, event_end_time,
system_language, conversation_id, location, system_language, conversation_id,
low_bandwidth, low_bandwidth,
content_license_url, content_license_url,
languages_understood, bounce_is_chat) languages_understood, bounce_is_chat)

View File

@ -1837,10 +1837,8 @@ def create_public_post(base_dir: str,
in_reply_to: str, in_reply_to: str,
in_reply_to_atom_uri: str, subject: str, in_reply_to_atom_uri: str, subject: str,
schedule_post: bool, schedule_post: bool,
event_date: str, event_time: str, event_date: str, event_time: str, event_end_time: str,
location: str, location: str, is_article: bool, system_language: str,
is_article: bool,
system_language: str,
conversation_id: str, low_bandwidth: bool, conversation_id: str, low_bandwidth: bool,
content_license_url: str, content_license_url: str,
languages_understood: []) -> {}: languages_understood: []) -> {}:
@ -1851,8 +1849,8 @@ def create_public_post(base_dir: str,
event_uuid = None event_uuid = None
category = None category = None
join_mode = None join_mode = None
end_date = None end_date = event_date
end_time = None end_time = event_end_time
maximum_attendee_capacity = None maximum_attendee_capacity = None
replies_moderation_option = None replies_moderation_option = None
anonymous_participation_enabled = None anonymous_participation_enabled = None
@ -1919,7 +1917,7 @@ def create_blog_post(base_dir: str,
image_description: str, city: str, image_description: str, city: str,
in_reply_to: str, in_reply_to_atom_uri: str, in_reply_to: str, in_reply_to_atom_uri: str,
subject: str, schedule_post: bool, subject: str, schedule_post: bool,
event_date: str, event_time: str, event_date: str, event_time: str, event_end_time: str,
location: str, system_language: str, location: str, system_language: str,
conversation_id: str, low_bandwidth: bool, conversation_id: str, low_bandwidth: bool,
content_license_url: str, content_license_url: str,
@ -1933,7 +1931,7 @@ def create_blog_post(base_dir: str,
image_description, city, image_description, city,
in_reply_to, in_reply_to_atom_uri, subject, in_reply_to, in_reply_to_atom_uri, subject,
schedule_post, schedule_post,
event_date, event_time, location, event_date, event_time, event_end_time, location,
True, system_language, conversation_id, True, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -1959,6 +1957,7 @@ def create_news_post(base_dir: str,
schedule_post = False schedule_post = False
event_date = None event_date = None
event_time = None event_time = None
event_end_time = None
location = None location = None
blog = \ blog = \
create_public_post(base_dir, create_public_post(base_dir,
@ -1969,7 +1968,7 @@ def create_news_post(base_dir: str,
image_description, city, image_description, city,
in_reply_to, in_reply_to_atom_uri, subject, in_reply_to, in_reply_to_atom_uri, subject,
schedule_post, schedule_post,
event_date, event_time, location, event_date, event_time, event_end_time, location,
True, system_language, conversation_id, True, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -2038,7 +2037,7 @@ def create_unlisted_post(base_dir: str,
image_description: str, city: str, image_description: str, city: str,
in_reply_to: str, in_reply_to_atom_uri: str, in_reply_to: str, in_reply_to_atom_uri: str,
subject: str, schedule_post: bool, subject: str, schedule_post: bool,
event_date: str, event_time: str, event_date: str, event_time: str, event_end_time: str,
location: str, system_language: str, location: str, system_language: str,
conversation_id: str, low_bandwidth: bool, conversation_id: str, low_bandwidth: bool,
content_license_url: str, content_license_url: str,
@ -2057,8 +2056,9 @@ def create_unlisted_post(base_dir: str,
image_description, city, image_description, city,
False, False, False, False,
in_reply_to, in_reply_to_atom_uri, subject, in_reply_to, in_reply_to_atom_uri, subject,
schedule_post, event_date, event_time, location, schedule_post, event_date,
None, None, None, None, None, event_time, event_end_time, location,
None, None, None, event_date, event_end_time,
None, None, None, None, None, system_language, None, None, None, None, None, system_language,
conversation_id, low_bandwidth, conversation_id, low_bandwidth,
content_license_url, languages_understood) content_license_url, languages_understood)
@ -2075,7 +2075,8 @@ def create_followers_only_post(base_dir: str,
in_reply_to: str, in_reply_to: str,
in_reply_to_atom_uri: str, in_reply_to_atom_uri: str,
subject: str, schedule_post: bool, subject: str, schedule_post: bool,
event_date: str, event_time: str, event_date: str,
event_time: str, event_end_time: str,
location: str, system_language: str, location: str, system_language: str,
conversation_id: str, low_bandwidth: bool, conversation_id: str, low_bandwidth: bool,
content_license_url: str, content_license_url: str,
@ -2094,7 +2095,7 @@ def create_followers_only_post(base_dir: str,
False, False, False, False,
in_reply_to, in_reply_to_atom_uri, subject, in_reply_to, in_reply_to_atom_uri, subject,
schedule_post, event_date, event_time, location, schedule_post, event_date, event_time, location,
None, None, None, None, None, None, None, None, event_date, event_end_time,
None, None, None, None, None, system_language, None, None, None, None, None, system_language,
conversation_id, low_bandwidth, conversation_id, low_bandwidth,
content_license_url, languages_understood) content_license_url, languages_understood)
@ -2149,6 +2150,7 @@ def create_direct_message_post(base_dir: str,
subject: str, debug: bool, subject: str, debug: bool,
schedule_post: bool, schedule_post: bool,
event_date: str, event_time: str, event_date: str, event_time: str,
event_end_time: str,
location: str, system_language: str, location: str, system_language: str,
conversation_id: str, low_bandwidth: bool, conversation_id: str, low_bandwidth: bool,
content_license_url: str, content_license_url: str,
@ -2175,7 +2177,7 @@ def create_direct_message_post(base_dir: str,
False, False, False, False,
in_reply_to, in_reply_to_atom_uri, subject, in_reply_to, in_reply_to_atom_uri, subject,
schedule_post, event_date, event_time, location, schedule_post, event_date, event_time, location,
None, None, None, None, None, None, None, None, event_date, event_end_time,
None, None, None, None, None, system_language, None, None, None, None, None, system_language,
conversation_id, low_bandwidth, conversation_id, low_bandwidth,
content_license_url, languages_understood) content_license_url, languages_understood)
@ -2567,7 +2569,7 @@ def send_post_via_server(signing_priv_key_pem: str, project_version: str,
languages_understood: [], languages_understood: [],
low_bandwidth: bool, low_bandwidth: bool,
content_license_url: str, content_license_url: str,
event_date: str, event_time: str, event_date: str, event_time: str, event_end_time: str,
location: str, location: str,
debug: bool = False, debug: bool = False,
in_reply_to: str = None, in_reply_to: str = None,
@ -2655,7 +2657,7 @@ def send_post_via_server(signing_priv_key_pem: str, project_version: str,
in_reply_to_atom_uri, subject, in_reply_to_atom_uri, subject,
False, False,
event_date, event_time, location, event_date, event_time, location,
None, None, None, None, None, None, None, None, event_date, event_end_time,
None, None, None, None, None, system_language, None, None, None, None, None, system_language,
conversation_id, low_bandwidth, conversation_id, low_bandwidth,
content_license_url, languages_understood) content_license_url, languages_understood)

View File

@ -753,6 +753,7 @@ def create_server_alice(path: str, domain: str, port: int,
test_schedule_post = False test_schedule_post = False
test_event_date = None test_event_date = None
test_event_time = None test_event_time = None
test_event_end_time = None
test_location = None test_location = None
test_is_article = False test_is_article = False
conversation_id = None conversation_id = None
@ -768,7 +769,8 @@ def create_server_alice(path: str, domain: str, port: int,
test_image_description, test_city, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -783,7 +785,8 @@ def create_server_alice(path: str, domain: str, port: int,
test_image_description, test_city, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -799,7 +802,8 @@ def create_server_alice(path: str, domain: str, port: int,
test_image_description, test_city, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -912,6 +916,7 @@ def create_server_bob(path: str, domain: str, port: int,
test_schedule_post = False test_schedule_post = False
test_event_date = None test_event_date = None
test_event_time = None test_event_time = None
test_event_end_time = None
test_location = None test_location = None
test_is_article = False test_is_article = False
conversation_id = None conversation_id = None
@ -927,7 +932,8 @@ def create_server_bob(path: str, domain: str, port: int,
test_image_description, test_city, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -943,7 +949,8 @@ def create_server_bob(path: str, domain: str, port: int,
test_image_description, test_city, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -958,7 +965,8 @@ def create_server_bob(path: str, domain: str, port: int,
test_image_description, test_city, test_image_description, test_city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -2825,6 +2833,7 @@ def _test_create_person_account(base_dir: str):
test_schedule_post = False test_schedule_post = False
test_event_date = None test_event_date = None
test_event_time = None test_event_time = None
test_event_end_time = None
test_location = None test_location = None
test_is_article = False test_is_article = False
followers_only = False followers_only = False
@ -2848,7 +2857,8 @@ def _test_create_person_account(base_dir: str):
'Not suitable for Vogons', 'London, England', 'Not suitable for Vogons', 'London, England',
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -2873,7 +2883,8 @@ def _test_create_person_account(base_dir: str):
'Not suitable for Vogons', 'London, England', 'Not suitable for Vogons', 'London, England',
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -3075,6 +3086,7 @@ def test_client_to_server(base_dir: str):
str(test_date.year) + '-' + str(test_date.month) + '-' + \ str(test_date.year) + '-' + str(test_date.month) + '-' + \
str(test_date.day) str(test_date.day)
event_time = '11:45' event_time = '11:45'
event_end_time = '12:30'
location = "Kinshasa" location = "Kinshasa"
send_result = \ send_result = \
send_post_via_server(signing_priv_key_pem, __version__, send_post_via_server(signing_priv_key_pem, __version__,
@ -3088,7 +3100,7 @@ def test_client_to_server(base_dir: str):
cached_webfingers, person_cache, is_article, cached_webfingers, person_cache, is_article,
system_language, languages_understood, system_language, languages_understood,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
event_date, event_time, location, event_date, event_time, event_end_time, location,
True, None, None, True, None, None,
conversation_id, None) conversation_id, None)
print('send_result: ' + str(send_result)) print('send_result: ' + str(send_result))
@ -4539,6 +4551,7 @@ def _test_reply_to_public_post(base_dir: str) -> None:
test_schedule_post = False test_schedule_post = False
test_event_date = None test_event_date = None
test_event_time = None test_event_time = None
test_event_end_time = None
test_location = None test_location = None
test_is_article = False test_is_article = False
conversation_id = None conversation_id = None
@ -4552,7 +4565,8 @@ def _test_reply_to_public_post(base_dir: str) -> None:
image_description, city, test_in_reply_to, image_description, city, test_in_reply_to,
test_in_reply_to_atom_uri, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -5464,6 +5478,7 @@ def _test_links_within_post(base_dir: str) -> None:
test_schedule_post = False test_schedule_post = False
test_event_date = None test_event_date = None
test_event_time = None test_event_time = None
test_event_end_time = None
test_location = None test_location = None
test_is_article = False test_is_article = False
conversation_id = None conversation_id = None
@ -5478,7 +5493,8 @@ def _test_links_within_post(base_dir: str) -> None:
image_description, city, image_description, city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -5516,7 +5532,8 @@ def _test_links_within_post(base_dir: str) -> None:
False, None, False, None,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)
@ -6472,6 +6489,7 @@ def _test_can_replyto(base_dir: str) -> None:
test_schedule_post = False test_schedule_post = False
test_event_date = None test_event_date = None
test_event_time = None test_event_time = None
test_event_end_time = None
test_location = None test_location = None
test_is_article = False test_is_article = False
conversation_id = None conversation_id = None
@ -6486,7 +6504,8 @@ def _test_can_replyto(base_dir: str) -> None:
image_description, city, image_description, city,
test_in_reply_to, test_in_reply_to_atom_uri, test_in_reply_to, test_in_reply_to_atom_uri,
test_subject, test_schedule_post, test_subject, test_schedule_post,
test_event_date, test_event_time, test_location, test_event_date, test_event_time,
test_event_end_time, test_location,
test_is_article, system_language, conversation_id, test_is_article, system_language, conversation_id,
low_bandwidth, content_license_url, low_bandwidth, content_license_url,
languages_understood) languages_understood)

View File

@ -555,5 +555,7 @@
"DM warning": "لا يتم تشفير الرسائل المباشرة من طرف إلى طرف. لا تشارك أي معلومات حساسة للغاية هنا.", "DM warning": "لا يتم تشفير الرسائل المباشرة من طرف إلى طرف. لا تشارك أي معلومات حساسة للغاية هنا.",
"Transcript": "نص", "Transcript": "نص",
"Color contrast is too low": "تباين الألوان منخفض جدًا", "Color contrast is too low": "تباين الألوان منخفض جدًا",
"View Larger Map": "عرض خريطة أكبر" "View Larger Map": "عرض خريطة أكبر",
"Start Time": "وقت البدء",
"End Time": "وقت النهاية"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Els missatges directes no estan xifrats d'extrem a extrem. No compartiu cap informació molt sensible aquí.", "DM warning": "Els missatges directes no estan xifrats d'extrem a extrem. No compartiu cap informació molt sensible aquí.",
"Transcript": "Transcripció", "Transcript": "Transcripció",
"Color contrast is too low": "El contrast de color és massa baix", "Color contrast is too low": "El contrast de color és massa baix",
"View Larger Map": "Veure mapa més gran" "View Larger Map": "Veure mapa més gran",
"Start Time": "L'hora d'inici",
"End Time": "Temps esgotat"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Nid yw negeseuon uniongyrchol wedi'u hamgryptio o'r dechrau i'r diwedd. Peidiwch â rhannu unrhyw wybodaeth hynod sensitif yma.", "DM warning": "Nid yw negeseuon uniongyrchol wedi'u hamgryptio o'r dechrau i'r diwedd. Peidiwch â rhannu unrhyw wybodaeth hynod sensitif yma.",
"Transcript": "Trawsgrifiad", "Transcript": "Trawsgrifiad",
"Color contrast is too low": "Mae cyferbyniad lliw yn rhy isel", "Color contrast is too low": "Mae cyferbyniad lliw yn rhy isel",
"View Larger Map": "Gweld Map Mwy" "View Larger Map": "Gweld Map Mwy",
"Start Time": "Amser Dechrau",
"End Time": "Amser Gorffen"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Direktnachrichten sind nicht Ende-zu-Ende verschlüsselt. Geben Sie hier keine hochsensiblen Informationen weiter.", "DM warning": "Direktnachrichten sind nicht Ende-zu-Ende verschlüsselt. Geben Sie hier keine hochsensiblen Informationen weiter.",
"Transcript": "Abschrift", "Transcript": "Abschrift",
"Color contrast is too low": "Der Farbkontrast ist zu gering", "Color contrast is too low": "Der Farbkontrast ist zu gering",
"View Larger Map": "größere Karte ansehen" "View Larger Map": "größere Karte ansehen",
"Start Time": "Startzeit",
"End Time": "Endzeit"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Τα άμεσα μηνύματα δεν είναι κρυπτογραφημένα από άκρο σε άκρο. Μην μοιράζεστε καμία εξαιρετικά ευαίσθητη πληροφορία εδώ.", "DM warning": "Τα άμεσα μηνύματα δεν είναι κρυπτογραφημένα από άκρο σε άκρο. Μην μοιράζεστε καμία εξαιρετικά ευαίσθητη πληροφορία εδώ.",
"Transcript": "Αντίγραφο", "Transcript": "Αντίγραφο",
"Color contrast is too low": "Η χρωματική αντίθεση είναι πολύ χαμηλή", "Color contrast is too low": "Η χρωματική αντίθεση είναι πολύ χαμηλή",
"View Larger Map": "Δείτε Μεγαλύτερο Χάρτη" "View Larger Map": "Δείτε Μεγαλύτερο Χάρτη",
"Start Time": "Ωρα έναρξης",
"End Time": "Τέλος χρόνου"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Direct messages are not end-to-end encrypted. Do not share any highly sensitive information here.", "DM warning": "Direct messages are not end-to-end encrypted. Do not share any highly sensitive information here.",
"Transcript": "Transcript", "Transcript": "Transcript",
"Color contrast is too low": "Color contrast is too low", "Color contrast is too low": "Color contrast is too low",
"View Larger Map": "View Larger Map" "View Larger Map": "View Larger Map",
"Start Time": "Start Time",
"End Time": "End Time"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Los mensajes directos no están cifrados de extremo a extremo. No comparta ninguna información altamente confidencial aquí.", "DM warning": "Los mensajes directos no están cifrados de extremo a extremo. No comparta ninguna información altamente confidencial aquí.",
"Transcript": "Transcripción", "Transcript": "Transcripción",
"Color contrast is too low": "El contraste de color es demasiado bajo", "Color contrast is too low": "El contraste de color es demasiado bajo",
"View Larger Map": "Ver mapa más grande" "View Larger Map": "Ver mapa más grande",
"Start Time": "Hora de inicio",
"End Time": "Hora de finalización"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Les messages directs ne sont pas chiffrés de bout en bout. Ne partagez aucune information hautement sensible ici.", "DM warning": "Les messages directs ne sont pas chiffrés de bout en bout. Ne partagez aucune information hautement sensible ici.",
"Transcript": "Transcription", "Transcript": "Transcription",
"Color contrast is too low": "Le contraste des couleurs est trop faible", "Color contrast is too low": "Le contraste des couleurs est trop faible",
"View Larger Map": "Agrandir le plan" "View Larger Map": "Agrandir le plan",
"Start Time": "Heure de début",
"End Time": "Heure de fin"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Níl teachtaireachtaí díreacha criptithe ó cheann go ceann. Ná roinn aon fhaisnéis an-íogair anseo.", "DM warning": "Níl teachtaireachtaí díreacha criptithe ó cheann go ceann. Ná roinn aon fhaisnéis an-íogair anseo.",
"Transcript": "Athscríbhinn", "Transcript": "Athscríbhinn",
"Color contrast is too low": "Tá codarsnacht dath ró-íseal", "Color contrast is too low": "Tá codarsnacht dath ró-íseal",
"View Larger Map": "Féach ar Léarscáil Níos Mó" "View Larger Map": "Féach ar Léarscáil Níos Mó",
"Start Time": "Am Tosaigh",
"End Time": "Am Deiridh"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "डायरेक्ट मैसेज एंड-टू-एंड एन्क्रिप्टेड नहीं होते हैं। यहां कोई अति संवेदनशील जानकारी साझा न करें।", "DM warning": "डायरेक्ट मैसेज एंड-टू-एंड एन्क्रिप्टेड नहीं होते हैं। यहां कोई अति संवेदनशील जानकारी साझा न करें।",
"Transcript": "प्रतिलिपि", "Transcript": "प्रतिलिपि",
"Color contrast is too low": "रंग कंट्रास्ट बहुत कम है", "Color contrast is too low": "रंग कंट्रास्ट बहुत कम है",
"View Larger Map": "बड़ा नक्शा देखें" "View Larger Map": "बड़ा नक्शा देखें",
"Start Time": "समय शुरू",
"End Time": "अंत समय"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "I messaggi diretti non sono crittografati end-to-end. Non condividere qui alcuna informazione altamente sensibile.", "DM warning": "I messaggi diretti non sono crittografati end-to-end. Non condividere qui alcuna informazione altamente sensibile.",
"Transcript": "Trascrizione", "Transcript": "Trascrizione",
"Color contrast is too low": "Il contrasto del colore è troppo basso", "Color contrast is too low": "Il contrasto del colore è troppo basso",
"View Larger Map": "Visualizza mappa più grande" "View Larger Map": "Visualizza mappa più grande",
"Start Time": "Ora di inizio",
"End Time": "Tempo scaduto"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "ダイレクトメッセージはエンドツーエンドで暗号化されません。 ここでは機密性の高い情報を共有しないでください。", "DM warning": "ダイレクトメッセージはエンドツーエンドで暗号化されません。 ここでは機密性の高い情報を共有しないでください。",
"Transcript": "トランスクリプト", "Transcript": "トランスクリプト",
"Color contrast is too low": "色のコントラストが低すぎる", "Color contrast is too low": "色のコントラストが低すぎる",
"View Larger Map": "大きな地図を見る" "View Larger Map": "大きな地図を見る",
"Start Time": "始まる時間",
"End Time": "終了時間"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "다이렉트 메시지는 종단 간 암호화되지 않습니다. 여기에 매우 민감한 정보를 공유하지 마십시오.", "DM warning": "다이렉트 메시지는 종단 간 암호화되지 않습니다. 여기에 매우 민감한 정보를 공유하지 마십시오.",
"Transcript": "성적 증명서", "Transcript": "성적 증명서",
"Color contrast is too low": "색상 대비가 너무 낮습니다.", "Color contrast is too low": "색상 대비가 너무 낮습니다.",
"View Larger Map": "큰 지도 보기" "View Larger Map": "큰 지도 보기",
"Start Time": "시작 시간",
"End Time": "종료 시간"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Peyamên rasterast bi dawî-bi-dawî ne şîfrekirî ne. Li vir agahdariya pir hesas parve nekin.", "DM warning": "Peyamên rasterast bi dawî-bi-dawî ne şîfrekirî ne. Li vir agahdariya pir hesas parve nekin.",
"Transcript": "Transcript", "Transcript": "Transcript",
"Color contrast is too low": "Berevajî reng pir kêm e", "Color contrast is too low": "Berevajî reng pir kêm e",
"View Larger Map": "Nexşeya Mezin bibînin" "View Larger Map": "Nexşeya Mezin bibînin",
"Start Time": "Demjimêra Destpêkê",
"End Time": "Dema Dawî"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Directe berichten zijn niet end-to-end versleuteld. Deel hier geen zeer gevoelige informatie.", "DM warning": "Directe berichten zijn niet end-to-end versleuteld. Deel hier geen zeer gevoelige informatie.",
"Transcript": "Vertaling", "Transcript": "Vertaling",
"Color contrast is too low": "Kleurcontrast is te laag", "Color contrast is too low": "Kleurcontrast is te laag",
"View Larger Map": "zie grotere kaart" "View Larger Map": "zie grotere kaart",
"Start Time": "Starttijd",
"End Time": "Eindtijd"
} }

View File

@ -551,5 +551,7 @@
"DM warning": "Direct messages are not end-to-end encrypted. Do not share any highly sensitive information here.", "DM warning": "Direct messages are not end-to-end encrypted. Do not share any highly sensitive information here.",
"Transcript": "Transcript", "Transcript": "Transcript",
"Color contrast is too low": "Color contrast is too low", "Color contrast is too low": "Color contrast is too low",
"View Larger Map": "View Larger Map" "View Larger Map": "View Larger Map",
"Start Time": "Start Time",
"End Time": "End Time"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Wiadomości na czacie nie są szyfrowane metodą end-to-end. Nie udostępniaj tutaj żadnych wysoce wrażliwych informacji.", "DM warning": "Wiadomości na czacie nie są szyfrowane metodą end-to-end. Nie udostępniaj tutaj żadnych wysoce wrażliwych informacji.",
"Transcript": "Transkrypcja", "Transcript": "Transkrypcja",
"Color contrast is too low": "Kontrast kolorów jest zbyt niski", "Color contrast is too low": "Kontrast kolorów jest zbyt niski",
"View Larger Map": "Wyświetl Większą Mapę" "View Larger Map": "Wyświetl Większą Mapę",
"Start Time": "Czas rozpoczęcia",
"End Time": "Koniec czasu"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "As mensagens diretas não são criptografadas de ponta a ponta. Não compartilhe nenhuma informação altamente sensível aqui.", "DM warning": "As mensagens diretas não são criptografadas de ponta a ponta. Não compartilhe nenhuma informação altamente sensível aqui.",
"Transcript": "Transcrição", "Transcript": "Transcrição",
"Color contrast is too low": "O contraste de cores é muito baixo", "Color contrast is too low": "O contraste de cores é muito baixo",
"View Larger Map": "ver o mapa maior" "View Larger Map": "ver o mapa maior",
"Start Time": "Hora de início",
"End Time": "Fim do tempo"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Прямые сообщения не подвергаются сквозному шифрованию. Не делитесь здесь особо конфиденциальной информацией.", "DM warning": "Прямые сообщения не подвергаются сквозному шифрованию. Не делитесь здесь особо конфиденциальной информацией.",
"Transcript": "Стенограмма", "Transcript": "Стенограмма",
"Color contrast is too low": "Цветовой контраст слишком низкий", "Color contrast is too low": "Цветовой контраст слишком низкий",
"View Larger Map": "Посмотреть увеличенную карту" "View Larger Map": "Посмотреть увеличенную карту",
"Start Time": "Время начала",
"End Time": "Время окончания"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Ujumbe wa moja kwa moja haujasimbwa kutoka mwisho hadi mwisho. Usishiriki maelezo yoyote nyeti sana hapa.", "DM warning": "Ujumbe wa moja kwa moja haujasimbwa kutoka mwisho hadi mwisho. Usishiriki maelezo yoyote nyeti sana hapa.",
"Transcript": "Nakala", "Transcript": "Nakala",
"Color contrast is too low": "Utofautishaji wa rangi uko chini sana", "Color contrast is too low": "Utofautishaji wa rangi uko chini sana",
"View Larger Map": "Tazama Ramani Kubwa" "View Larger Map": "Tazama Ramani Kubwa",
"Start Time": "Wakati wa Kuanza",
"End Time": "Wakati wa Mwisho"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Doğrudan mesajlar uçtan uca şifrelenmez. Son derece hassas bilgileri burada paylaşmayın.", "DM warning": "Doğrudan mesajlar uçtan uca şifrelenmez. Son derece hassas bilgileri burada paylaşmayın.",
"Transcript": "Transcript", "Transcript": "Transcript",
"Color contrast is too low": "Renk kontrastı çok düşük", "Color contrast is too low": "Renk kontrastı çok düşük",
"View Larger Map": "Daha Büyük Haritayı Görüntüle" "View Larger Map": "Daha Büyük Haritayı Görüntüle",
"Start Time": "Başlangıç saati",
"End Time": "Bitiş zamanı"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "Прямі повідомлення не наскрізне шифруються. Не публікуйте тут дуже конфіденційну інформацію.", "DM warning": "Прямі повідомлення не наскрізне шифруються. Не публікуйте тут дуже конфіденційну інформацію.",
"Transcript": "Стенограма", "Transcript": "Стенограма",
"Color contrast is too low": "Колірна контрастність надто низька", "Color contrast is too low": "Колірна контрастність надто низька",
"View Larger Map": "Переглянути більшу карту" "View Larger Map": "Переглянути більшу карту",
"Start Time": "Час початку",
"End Time": "Час закінчення"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "דירעקט אַרטיקלען זענען נישט ענקריפּטיד פון סוף צו סוף. דו זאלסט נישט טיילן קיין העכסט שפּירעוודיק אינפֿאָרמאַציע דאָ.", "DM warning": "דירעקט אַרטיקלען זענען נישט ענקריפּטיד פון סוף צו סוף. דו זאלסט נישט טיילן קיין העכסט שפּירעוודיק אינפֿאָרמאַציע דאָ.",
"Transcript": "טראַנסקריפּט", "Transcript": "טראַנסקריפּט",
"Color contrast is too low": "קאָליר קאַנטראַסט איז אויך נידעריק", "Color contrast is too low": "קאָליר קאַנטראַסט איז אויך נידעריק",
"View Larger Map": "View גרעסערע מאַפּע" "View Larger Map": "View גרעסערע מאַפּע",
"Start Time": "אָנהייב צייט",
"End Time": "סוף צייט"
} }

View File

@ -555,5 +555,7 @@
"DM warning": "直接消息不是端到端加密的。 不要在这里分享任何高度敏感的信息。", "DM warning": "直接消息不是端到端加密的。 不要在这里分享任何高度敏感的信息。",
"Transcript": "成绩单", "Transcript": "成绩单",
"Color contrast is too low": "颜色对比度太低", "Color contrast is too low": "颜色对比度太低",
"View Larger Map": "查看更大的地图" "View Larger Map": "查看更大的地图",
"Start Time": "开始时间",
"End Time": "时间结束"
} }

View File

@ -243,9 +243,13 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
translate['Date'] + ': </label>\n' translate['Date'] + ': </label>\n'
date_and_time_str += '<input type="date" name="eventDate">\n' date_and_time_str += '<input type="date" name="eventDate">\n'
date_and_time_str += '<label class="labelsright">' + \ date_and_time_str += '<label class="labelsright">' + \
translate['Time'] + ': ' translate['Start Time'] + ': '
date_and_time_str += \ date_and_time_str += \
'<input type="time" name="eventTime"></label>\n</p>\n' '<input type="time" name="eventTime"></label>\n<br>\n'
date_and_time_str += '<label class="labelsright">' + \
translate['End Time'] + ': '
date_and_time_str += \
'<input type="time" name="eventEndTime"></label>\n</p>\n'
show_public_on_dropdown = True show_public_on_dropdown = True
message_box_height = 400 message_box_height = 400