Skip to content

Commit

Permalink
Use todays date as example
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 1, 2024
1 parent aef15e2 commit 340d3fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"search.button.next": "Next",
"search.button.previous": "Previous",
"search.button.clear": "Clear",
"search.input.placeholder": "'Write the URL and use commands like date:2022-10-22",
"search.input.placeholder": "Write the URL and use commands like date: %s",

"search.help.heading": "Search commands",
"search.help.description": "You can combine your search commands. To find a test for a URL, date and browser you can search like this",
Expand Down
2 changes: 1 addition & 1 deletion server/views/search.pug
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ block content
input(type='hidden' name='page' value='1' id='page')
.field.is-grouped
p.control.is-expanded
input.input.is-large(type='text' placeholder=getText('search.input.placeholder') name='search' id='search' autofocus value=searchQuery)
input.input.is-large(type='text' placeholder=getText('search.input.placeholder', dayjs().format('YYYY-MM-DD')) name='search' id='search' autofocus value=searchQuery)
p.control
button.button.is-primary.is-large(accesskey='s' name='searchbutton') #{getText('search.button.search')}
p.control
Expand Down

0 comments on commit 340d3fe

Please sign in to comment.