aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2020-03-21 21:11:01 +0100
committerKevin Decherf <kevin@kdecherf.com>2020-03-22 17:01:39 +0100
commit8ee7b1603d23297a6c183105f79b1290ce9828bf (patch)
tree15718b08724227f379a8af69c1a6a7ed8ab6c870 /app/Resources/static
parentef81e3c89b00712476b0698e7c9057fc05a2e1c9 (diff)
downloadwallabag-8ee7b1603d23297a6c183105f79b1290ce9828bf.tar.gz
wallabag-8ee7b1603d23297a6c183105f79b1290ce9828bf.tar.zst
wallabag-8ee7b1603d23297a6c183105f79b1290ce9828bf.zip
Fix createdAt date range filter
- hiddenName has been disabled in order to fix the missing date range values when using the material theme - data format has been changed to 'Y-m-d' in order to comply with the browser date input default format - tests: date() and strtotime have been replaced with DateTime-related objects Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'app/Resources/static')
-rwxr-xr-xapp/Resources/static/themes/material/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Resources/static/themes/material/index.js b/app/Resources/static/themes/material/index.js
index e808d75c..da055e80 100755
--- a/app/Resources/static/themes/material/index.js
+++ b/app/Resources/static/themes/material/index.js
@@ -57,9 +57,9 @@ $(document).ready(() => {
57 $('.datepicker').pickadate({ 57 $('.datepicker').pickadate({
58 selectMonths: true, 58 selectMonths: true,
59 selectYears: 15, 59 selectYears: 15,
60 formatSubmit: 'dd/mm/yyyy', 60 formatSubmit: 'yyyy-mm-dd',
61 hiddenName: true, 61 hiddenName: false,
62 format: 'dd/mm/yyyy', 62 format: 'yyyy-mm-dd',
63 container: 'body', 63 container: 'body',
64 }); 64 });
65 65