diff options
author | Mario <mario@mariovavti.com> | 2021-03-26 20:54:48 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-26 20:54:48 +0100 |
commit | 725e57a27a41c8780c08fe598ec6c7b24a633cf4 (patch) | |
tree | 4839ee3a5f5102caeab6da4bb811d7fde2d5107f /view/tpl/regate.tpl | |
parent | b50f1657c3e5772dd6235ce98c55e71630b0c626 (diff) | |
download | volse-hubzilla-725e57a27a41c8780c08fe598ec6c7b24a633cf4.tar.gz volse-hubzilla-725e57a27a41c8780c08fe598ec6c7b24a633cf4.tar.bz2 volse-hubzilla-725e57a27a41c8780c08fe598ec6c7b24a633cf4.zip |
air: more work on UX during register
Diffstat (limited to 'view/tpl/regate.tpl')
-rw-r--r-- | view/tpl/regate.tpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/view/tpl/regate.tpl b/view/tpl/regate.tpl index bae0884dc..04a9df1de 100644 --- a/view/tpl/regate.tpl +++ b/view/tpl/regate.tpl @@ -20,3 +20,10 @@ </form> <div class="clear"></div> +<script> + var week_days = ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday']; + $('.register_date').each( function () { + var date = new Date($(this).data('utc')); + $(this).html(date.toLocaleString(undefined, {weekday: 'short', hour: 'numeric', minute: 'numeric'})); + }); +</script> |