From b82356dd61b8d894d296c4a65f5f7976c05d6a4d Mon Sep 17 00:00:00 2001 From: Dominic Tubach Date: Thu, 12 Dec 2024 15:26:03 +0100 Subject: [PATCH] Use date only format for activity start date --- .../core.date_format.civiremote_funding_date_only.yml | 7 +++++++ .../views.view.civiremote_funding_application_list.yml | 2 +- ...emote_funding_combined_application_process_list.yml | 2 +- translations/civiremote_funding.pot | 10 +++++++++- translations/de.po | 8 ++++++++ 5 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 config/install/core.date_format.civiremote_funding_date_only.yml diff --git a/config/install/core.date_format.civiremote_funding_date_only.yml b/config/install/core.date_format.civiremote_funding_date_only.yml new file mode 100644 index 0000000..42173c8 --- /dev/null +++ b/config/install/core.date_format.civiremote_funding_date_only.yml @@ -0,0 +1,7 @@ +langcode: en +status: true +dependencies: { } +id: civiremote_funding_date_only +label: 'CiviRemote Funding date only' +locked: false +pattern: 'd M Y' diff --git a/config/optional/views.view.civiremote_funding_application_list.yml b/config/optional/views.view.civiremote_funding_application_list.yml index 73f5681..de4d244 100644 --- a/config/optional/views.view.civiremote_funding_application_list.yml +++ b/config/optional/views.view.civiremote_funding_application_list.yml @@ -410,7 +410,7 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - date_format: short + date_format: civiremote_funding_date_only custom_date_format: '' timezone: '' application_process_status: diff --git a/config/optional/views.view.civiremote_funding_combined_application_process_list.yml b/config/optional/views.view.civiremote_funding_combined_application_process_list.yml index 96e4d8a..b4ad0b1 100644 --- a/config/optional/views.view.civiremote_funding_combined_application_process_list.yml +++ b/config/optional/views.view.civiremote_funding_combined_application_process_list.yml @@ -355,7 +355,7 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - date_format: short + date_format: civiremote_funding_date_only custom_date_format: '' timezone: '' status: diff --git a/translations/civiremote_funding.pot b/translations/civiremote_funding.pot index ba8754f..7fd61c4 100644 --- a/translations/civiremote_funding.pot +++ b/translations/civiremote_funding.pot @@ -11,7 +11,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 3.0.1\n" -"X-Poedit-KeywordsList: t;title;label;description;text;submit_button;type_custom_true\n" +"X-Poedit-KeywordsList: t;title;label;description;text;submit_button;type_custom_true;pattern\n" "X-Poedit-Basepath: ..\n" "X-Poedit-SearchPath-0: config\n" "X-Poedit-SearchPath-1: src\n" @@ -121,6 +121,10 @@ msgstr "" msgid "CiviCRM Funding Application List (non-combined)" msgstr "" +#: config/install/core.date_format.civiremote_funding_date_only.yml +msgid "CiviRemote Funding date only" +msgstr "" + #: civiremote_funding.info.yml msgid "Drupal frontend for funding applications of CiviCRM Funding Manager." msgstr "" @@ -307,6 +311,10 @@ msgstr "" msgid "CiviCRM Funding Combined Application Process List" msgstr "" +#: config/install/core.date_format.civiremote_funding_date_only.yml +msgid "d M Y" +msgstr "" + #: config/optional/views.view.civiremote_funding_combined_application_process_list.yml #: config/optional/views.view.civiremote_funding_combined_case_list.yml #: config/optional/views.view.civiremote_funding_drawdown_list.yml diff --git a/translations/de.po b/translations/de.po index 16a7d58..44ebe3d 100644 --- a/translations/de.po +++ b/translations/de.po @@ -123,6 +123,10 @@ msgstr "CiviCRM Förderfallliste (Sammelantrag)" msgid "CiviCRM Funding Application List (non-combined)" msgstr "CiviCRM Förderantragsliste (kein Sammelantrag)" +#: config/install/core.date_format.civiremote_funding_date_only.yml +msgid "CiviRemote Funding date only" +msgstr "CiviRemote Funding nur Datum" + #: civiremote_funding.info.yml msgid "Drupal frontend for funding applications of CiviCRM Funding Manager." msgstr "" @@ -311,6 +315,10 @@ msgstr "Änderungsdatum" msgid "CiviCRM Funding Combined Application Process List" msgstr "CiviCRM Sammelförderantragsliste" +#: config/install/core.date_format.civiremote_funding_date_only.yml +msgid "d M Y" +msgstr "d.m.Y" + #: config/optional/views.view.civiremote_funding_combined_application_process_list.yml #: config/optional/views.view.civiremote_funding_combined_case_list.yml #: config/optional/views.view.civiremote_funding_drawdown_list.yml