Page MenuHomePhabricator

D18942.diff
No OneTemporary

D18942.diff

diff --git a/src/applications/search/field/PhabricatorSearchDateField.php b/src/applications/search/field/PhabricatorSearchDateField.php
--- a/src/applications/search/field/PhabricatorSearchDateField.php
+++ b/src/applications/search/field/PhabricatorSearchDateField.php
@@ -4,7 +4,8 @@
extends PhabricatorSearchField {
protected function newControl() {
- return new AphrontFormTextControl();
+ return id(new AphrontFormTextControl())
+ ->setPlaceholder(pht('"2022-12-25" or "7 days ago"...'));
}
protected function getValueFromRequest(AphrontRequest $request, $key) {

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 16, 11:14 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7220967
Default Alt Text
D18942.diff (597 B)

Event Timeline