#25006: Allow for custom Time shortcut in DateTimeShortCuts.js
-------------------------------+--------------------
     Reporter:  RamezIssac     |      Owner:  nobody
         Type:  New feature    |     Status:  new
    Component:  contrib.admin  |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 The Time shortcut is an amazing add-on , yet it's kinda frustrating if the
 pre-defined shortcuts doesn't fit the field/the model or end user most
 used times.
 Shortcut times are: Now, 00:00 , 6 a.m. and noon, ..not very handy for
 night fun activities i might say :-D

 I managed to add this functionality through a javascript var that gets a
 check for existence when creating the shortcut html elements ;
 if found: loop through it & get shortcut 'Name' and 'hour' difference,
 Else: is the default behavior & times.

 I want to hear your opinion on the most 'django' way to go about it in
 order to make a pull request.

 Also, I apologize in advance if duplicated. (I honestly searched and
 couldn't find it)

 Regards;

--
Ticket URL: <https://code.djangoproject.com/ticket/25006>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.de88415dad344571012898b418cb7ecc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to