diff --git a/src/main/resources/languages/_de.properties b/src/main/resources/languages/_de.properties index 2db502a6abb39f06f1852d7c2796c79ab4e7ec0c..a353e03dba250b4d6f23318542f56d06eaef2d4d 100644 --- a/src/main/resources/languages/_de.properties +++ b/src/main/resources/languages/_de.properties @@ -368,7 +368,7 @@ chart.quick.all=Alle chart.quick.last.week.days=Letzte 7 Tage chart.quick.last.month.days=Letzte 30 Tage chart.quick.last.year.days=Letzte 365 Tage -chart.quick.last.three.months=Letzte 3 Monate +chart.quick.until.today=Alle bis heute chart.script.default=/* This list will be dynamically filled with all the transactions between\n \ * the start and and date you select on the "Show Chart" page\n \ diff --git a/src/main/resources/languages/_en.properties b/src/main/resources/languages/_en.properties index 784b062fd3366ff6b9f5f0407d5598a89696ddfd..8e43cda688ab7e99c2c3008ae1433f54c7b05fdf 100644 --- a/src/main/resources/languages/_en.properties +++ b/src/main/resources/languages/_en.properties @@ -367,7 +367,7 @@ chart.quick.all=All chart.quick.last.week.days=Last 7 days chart.quick.last.month.days=Last 30 days chart.quick.last.year.days=Last 365 days -chart.quick.last.three.months=Last 3 months +chart.quick.until.today=Until today chart.script.default=/* This list will be dynamically filled with all the transactions between\n \ * the start and and date you select on the "Show Chart" page\n \ diff --git a/src/main/resources/static/js/charts.js b/src/main/resources/static/js/charts.js index 1b6d7154aabe9c432304d2bca99e992085e19518..bed47eb4a9629133955e54cac9f655ed41cd4120 100644 --- a/src/main/resources/static/js/charts.js +++ b/src/main/resources/static/js/charts.js @@ -189,7 +189,7 @@ function handleQuickDate(element, pickerStartDate, pickerEndDate) endDate = moment(); break; case '7': - startDate = moment().subtract(3, 'months'); + startDate = moment("2000-01-01"); endDate = moment(); break; } diff --git a/src/main/resources/templates/charts/charts.ftl b/src/main/resources/templates/charts/charts.ftl index a23798e510e9b0b63da6d3c4b0d12763a39f2a57..768908bec309bf1b65f9c7ffd28ee19febd2ae03 100644 --- a/src/main/resources/templates/charts/charts.ftl +++ b/src/main/resources/templates/charts/charts.ftl @@ -93,7 +93,7 @@ <td class="quick-date" data-quick="4">${locale.getString("chart.quick.last.week.days")}</td> <td class="quick-date" data-quick="5">${locale.getString("chart.quick.last.month.days")}</td> <td class="quick-date" data-quick="6">${locale.getString("chart.quick.last.year.days")}</td> - <td class="quick-date" data-quick="7">${locale.getString("chart.quick.last.three.months")}</td> + <td class="quick-date" data-quick="7">${locale.getString("chart.quick.until.today")}</td> </tr> </table> </div>