MCPcopy
hub / github.com/django/django / DateTimeShortcuts.js

File DateTimeShortcuts.js

django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/*global Calendar, CalendarNamespace, findPosX, findPosY, get_format, gettext, gettext_noop, interpolate, ngettext, quickElement*/
2// Inserts shortcut buttons after all of the following:
3// <input type="text" class="vDateField">
4// <input type="text" class="vTimeField">

Callers

nothing calls this directly

Calls 15

quickElementFunction · 0.85
findPosXFunction · 0.85
findPosYFunction · 0.85
get_formatFunction · 0.85
getFormattedDateFunction · 0.85
maxMethod · 0.80
gettext_noopFunction · 0.50
gettextFunction · 0.50
ngettextFunction · 0.50
containsMethod · 0.45
addMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected