From 2bf8f5eccdc5efd2b886fdcd3325998808867f35 Mon Sep 17 00:00:00 2001 From: "Rasamoelina, Haja Onjatiana" <26148770+rhahao@users.noreply.github.com> Date: Wed, 27 Sep 2023 05:47:11 +0300 Subject: [PATCH] feat(module): change week date format to yyyy/mm/dd BREAKING CHANGES: the week date format for enhanced parsing was changed to yyyy/mm/dd --- CODE_OF_CONDUCT.md | 22 +++++----- README.md | 9 ++-- SECURITY.md | 2 +- TRANSLATION.md | 2 +- example/index.js | 6 +-- release.config.cjs | 10 +++-- src/common/enhanced_parse_utils.js | 36 +++++++-------- test/fixtures/mwb_E_202309.js | 18 ++++---- test/fixtures/mwb_F_202309.js | 18 ++++---- test/fixtures/mwb_K_202309.js | 18 ++++---- test/fixtures/mwb_MG_202309.js | 18 ++++---- test/fixtures/mwb_TND_202309.js | 18 ++++---- test/fixtures/mwb_TNK_202309.js | 18 ++++---- test/fixtures/mwb_VZ_202309.js | 18 ++++---- test/fixtures/mwb_X_202309.js | 18 ++++---- test/fixtures/w_E_202309.js | 70 +++++++++++++++--------------- test/fixtures/w_F_202309.js | 70 +++++++++++++++--------------- test/fixtures/w_K_202309.js | 10 ++--- test/fixtures/w_MG_202309.js | 70 +++++++++++++++--------------- test/fixtures/w_TND_202309.js | 70 +++++++++++++++--------------- test/fixtures/w_TNK_202309.js | 70 +++++++++++++++--------------- test/fixtures/w_VZ_202309.js | 70 +++++++++++++++--------------- test/fixtures/w_X_202309.js | 10 ++--- 23 files changed, 338 insertions(+), 333 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index df80c09f..8a3c45f9 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community. Examples of behavior that contributes to a positive environment for our community include: -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -* Focusing on what is best not just for us as individuals, but for the +- Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or +- The use of sexualized language or imagery, and sexual attention or advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities @@ -60,7 +60,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -sws2apps@gmail.com. +sws2apps.notification@gmail.com. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the diff --git a/README.md b/README.md index 277a4493..0e3a298e 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ import { loadEPUB } from 'jw-epub-parser'; // node import { loadEPUB } from 'jw-epub-parser/dist/node/index.js'; +// sample usage const epubJW = await loadEPUB('/path/to/file.epub'); const epubJW = await loadEPUB({ url: epubUrl }); @@ -50,7 +51,7 @@ By calling the `loadEPUB` function, it will return an array of objects with the | Name | Type | Description | | ------------------------ | :---------------: | ------------------------------------------------------------------------------------------------------------------------------- | -| mwb_week_date | string | Week date. For enhanced parsing, it is formatted as `mm/dd/yyyy` | +| mwb_week_date | string | Week date. For enhanced parsing, it is formatted as `yyyy/mm/dd` | | mwb_week_date_locale\* | string | Week date | | mwb_weekly_bible_reading | string | Weekly Bible Reading | | mwb_song_first | integer | First song | @@ -84,7 +85,7 @@ By calling the `loadEPUB` function, it will return an array of objects with the | Name | Type | Description | | ----------------------- | :-----: | ---------------------------------------------------------------- | -| w_study_date | string | Week date. For enhanced parsing, it is formatted as `mm/dd/yyyy` | +| w_study_date | string | Week date. For enhanced parsing, it is formatted as `yyyy/mm/dd` | | w_study_date_locale\* | string | Week date | | w_study_title | string | Watchtower Study Article Title | | w_study_opening_song | integer | Opening Song for the Watchtower Study | @@ -119,7 +120,7 @@ Here are how the results of this module look like: ```js [ { - mwb_week_date: '09/04/2023', + mwb_week_date: '2023/09/04', mwb_week_date_locale: 'September 4-10', mwb_weekly_bible_reading: 'ESTHER 1-2', mwb_song_first: 137, @@ -157,7 +158,7 @@ Here are how the results of this module look like: ```js [ { - w_study_date: '11/06/2023', + w_study_date: '2023/11/06', w_study_date_locale: 'Study Article 37: November 6-12, 2023', w_study_title: 'Rely on Jehovah, as Samson Did', w_study_opening_song: 30, diff --git a/SECURITY.md b/SECURITY.md index 38f81b41..9f9c3911 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,4 +2,4 @@ ## Reporting a Vulnerability -You can report a vulnerability by contacting us via email at sws2apps@gmail.com. We will try to do our best to respond you and handle the matter as soon as possible. +You can report a vulnerability by contacting us via email at sws2apps.notification@gmail.com. We will try to do our best to respond you and handle the matter as soon as possible. diff --git a/TRANSLATION.md b/TRANSLATION.md index 1ce6f414..d7a50bcd 100644 --- a/TRANSLATION.md +++ b/TRANSLATION.md @@ -9,7 +9,7 @@ To enhance parsing for a language, make sure first that EPUB is available for th All translated and approved content will be pushed to this repo automatically. You don't need to create any PRs with translation. -Original source can be found in [/locales/en](https://github.com/sws2apps/jw-epub-parser/tree/main/src/locales/en). If you find any problem with original source, please create a PR with changes directly to `/locales/en`. Crowdin automatically pull all updates within 3 hours. +Original source can be found in [/locales/en](https://github.com/sws2apps/jw-epub-parser/tree/main/src/locales/en). If you find any problem with original source, please create a PR with changes directly to `/locales/en`. Crowdin automatically pull all updates within 1 hour. ### I can't find my language on Crowdin diff --git a/example/index.js b/example/index.js index 88668fc1..add16855 100644 --- a/example/index.js +++ b/example/index.js @@ -1,14 +1,14 @@ import { fetchData } from './sample.js'; const runLiveCommand = async () => { - const languageIndex = process.argv.indexOf('--language'); + const languageIndex = process.argv.indexOf('language'); if (languageIndex === -1) { console.error('language missing from arguments'); return; } - const issueIndex = process.argv.indexOf('--issue'); - const pubIndex = process.argv.indexOf('--pub'); + const issueIndex = process.argv.indexOf('issue'); + const pubIndex = process.argv.indexOf('pub'); if (issueIndex >= 0 && pubIndex === -1) { console.error('issue date was provided but pub type is missing'); diff --git a/release.config.cjs b/release.config.cjs index 381c783d..3c1bf903 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -24,8 +24,7 @@ module.exports = { '@semantic-release/git', { assets: ['package.json', 'CHANGELOG.md'], - message: - 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}', + message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}', }, ], [ @@ -34,6 +33,11 @@ module.exports = { prepareCmd: 'npm run build', }, ], - '@semantic-release/github', + [ + '@semantic-release/github', + { + discussionCategoryName: 'Announcements', + }, + ], ], }; diff --git a/src/common/enhanced_parse_utils.js b/src/common/enhanced_parse_utils.js index 189310c0..43d843b6 100644 --- a/src/common/enhanced_parse_utils.js +++ b/src/common/enhanced_parse_utils.js @@ -1,43 +1,43 @@ import dateFormat from 'dateformat'; import { - extractAYFAssignment, - extractCBSSource, - extractLCAssignment, - extractMonthName, - extractTGWBibleReading, - extractTGWTalk, - extractWTStudyDate, + extractAYFAssignment, + extractCBSSource, + extractLCAssignment, + extractMonthName, + extractTGWBibleReading, + extractTGWTalk, + extractWTStudyDate, } from './parsing_rules.js'; export const getMWBWeekDateEnhanced = (weekDate, mwbYear, lang) => { - const { varDay, monthIndex } = extractMonthName(weekDate, lang); - const schedDate = new Date(mwbYear, monthIndex, varDay); + const { varDay, monthIndex } = extractMonthName(weekDate, lang); + const schedDate = new Date(mwbYear, monthIndex, varDay); - return dateFormat(schedDate, 'mm/dd/yyyy'); + return dateFormat(schedDate, 'yyyy/mm/dd'); }; export const getMWBTGWTalkEnhanced = (src, lang) => { - return extractTGWTalk(src, lang); + return extractTGWTalk(src, lang); }; export const getMWBTGWBibleReadingEnhanced = (src, lang) => { - return extractTGWBibleReading(src, lang); + return extractTGWBibleReading(src, lang); }; export const getMWBAYFEnhanced = (src, lang) => { - return extractAYFAssignment(src, lang); + return extractAYFAssignment(src, lang); }; export const getMWBLCEnhanced = (src, lang) => { - return extractLCAssignment(src, lang); + return extractLCAssignment(src, lang); }; export const getMWBCBSEnhanced = (src, lang) => { - return extractCBSSource(src, lang); + return extractCBSSource(src, lang); }; export const getWTStudyDateEnhanced = (src, lang) => { - const { varDay, monthIndex, varYear } = extractWTStudyDate(src, lang); - const schedDate = new Date(varYear, monthIndex, varDay); - return dateFormat(schedDate, 'mm/dd/yyyy'); + const { varDay, monthIndex, varYear } = extractWTStudyDate(src, lang); + const schedDate = new Date(varYear, monthIndex, varDay); + return dateFormat(schedDate, 'yyyy/mm/dd'); }; diff --git a/test/fixtures/mwb_E_202309.js b/test/fixtures/mwb_E_202309.js index 95fd406f..733b2ae3 100644 --- a/test/fixtures/mwb_E_202309.js +++ b/test/fixtures/mwb_E_202309.js @@ -1,6 +1,6 @@ export default [ { - mwb_week_date: '09/04/2023', + mwb_week_date: '2023/09/04', mwb_week_date_locale: 'September 4-10', mwb_weekly_bible_reading: 'ESTHER 1-2', mwb_song_first: 137, @@ -30,7 +30,7 @@ export default [ mwb_song_conclude: 101, }, { - mwb_week_date: '09/11/2023', + mwb_week_date: '2023/09/11', mwb_week_date_locale: 'September 11-17', mwb_weekly_bible_reading: 'ESTHER 3-5', mwb_song_first: 85, @@ -60,7 +60,7 @@ export default [ mwb_song_conclude: 125, }, { - mwb_week_date: '09/18/2023', + mwb_week_date: '2023/09/18', mwb_week_date_locale: 'September 18-24', mwb_weekly_bible_reading: 'ESTHER 6-8', mwb_song_first: 115, @@ -86,7 +86,7 @@ export default [ mwb_song_conclude: 124, }, { - mwb_week_date: '09/25/2023', + mwb_week_date: '2023/09/25', mwb_week_date_locale: 'September 25–October 1', mwb_weekly_bible_reading: 'ESTHER 9-10', mwb_song_first: 102, @@ -112,7 +112,7 @@ export default [ mwb_song_conclude: 55, }, { - mwb_week_date: '10/02/2023', + mwb_week_date: '2023/10/02', mwb_week_date_locale: 'October 2-8', mwb_weekly_bible_reading: 'JOB 1-3', mwb_song_first: 141, @@ -143,7 +143,7 @@ export default [ mwb_song_conclude: 129, }, { - mwb_week_date: '10/09/2023', + mwb_week_date: '2023/10/09', mwb_week_date_locale: 'October 9-15', mwb_weekly_bible_reading: 'JOB 4-5', mwb_song_first: 121, @@ -168,7 +168,7 @@ export default [ mwb_song_conclude: 38, }, { - mwb_week_date: '10/16/2023', + mwb_week_date: '2023/10/16', mwb_week_date_locale: 'October 16-22', mwb_weekly_bible_reading: 'JOB 6-7', mwb_song_first: 33, @@ -195,7 +195,7 @@ export default [ mwb_song_conclude: 143, }, { - mwb_week_date: '10/23/2023', + mwb_week_date: '2023/10/23', mwb_week_date_locale: 'October 23-29', mwb_weekly_bible_reading: 'JOB 8-10', mwb_song_first: 107, @@ -224,7 +224,7 @@ export default [ mwb_song_conclude: 64, }, { - mwb_week_date: '10/30/2023', + mwb_week_date: '2023/10/30', mwb_week_date_locale: 'October 30–November 5', mwb_weekly_bible_reading: 'JOB 11-12', mwb_song_first: 87, diff --git a/test/fixtures/mwb_F_202309.js b/test/fixtures/mwb_F_202309.js index ce87db79..948e62be 100644 --- a/test/fixtures/mwb_F_202309.js +++ b/test/fixtures/mwb_F_202309.js @@ -1,6 +1,6 @@ export default [ { - mwb_week_date: '09/04/2023', + mwb_week_date: '2023/09/04', mwb_week_date_locale: '4-10 septembre', mwb_weekly_bible_reading: 'ESTHER 1-2', mwb_song_first: 137, @@ -31,7 +31,7 @@ export default [ mwb_song_conclude: 101, }, { - mwb_week_date: '09/11/2023', + mwb_week_date: '2023/09/11', mwb_week_date_locale: '11-17 septembre', mwb_weekly_bible_reading: 'ESTHER 3-5', mwb_song_first: 85, @@ -61,7 +61,7 @@ export default [ mwb_song_conclude: 125, }, { - mwb_week_date: '09/18/2023', + mwb_week_date: '2023/09/18', mwb_week_date_locale: '18-24 septembre', mwb_weekly_bible_reading: 'ESTHER 6-8', mwb_song_first: 115, @@ -88,7 +88,7 @@ export default [ mwb_song_conclude: 124, }, { - mwb_week_date: '09/25/2023', + mwb_week_date: '2023/09/25', mwb_week_date_locale: '25 septembre – 1er octobre', mwb_weekly_bible_reading: 'ESTHER 9-10', mwb_song_first: 102, @@ -114,7 +114,7 @@ export default [ mwb_song_conclude: 55, }, { - mwb_week_date: '10/02/2023', + mwb_week_date: '2023/10/02', mwb_week_date_locale: '2-8 octobre', mwb_weekly_bible_reading: 'JOB 1-3', mwb_song_first: 141, @@ -146,7 +146,7 @@ export default [ mwb_song_conclude: 129, }, { - mwb_week_date: '10/09/2023', + mwb_week_date: '2023/10/09', mwb_week_date_locale: '9-15 octobre', mwb_weekly_bible_reading: 'JOB 4-5', mwb_song_first: 121, @@ -171,7 +171,7 @@ export default [ mwb_song_conclude: 38, }, { - mwb_week_date: '10/16/2023', + mwb_week_date: '2023/10/16', mwb_week_date_locale: '16-22 octobre', mwb_weekly_bible_reading: 'JOB 6-7', mwb_song_first: 33, @@ -198,7 +198,7 @@ export default [ mwb_song_conclude: 143, }, { - mwb_week_date: '10/23/2023', + mwb_week_date: '2023/10/23', mwb_week_date_locale: '23-29 octobre', mwb_weekly_bible_reading: 'JOB 8-10', mwb_song_first: 107, @@ -227,7 +227,7 @@ export default [ mwb_song_conclude: 64, }, { - mwb_week_date: '10/30/2023', + mwb_week_date: '2023/10/30', mwb_week_date_locale: '30 octobre – 5 novembre', mwb_weekly_bible_reading: 'JOB 11-12', mwb_song_first: 87, diff --git a/test/fixtures/mwb_K_202309.js b/test/fixtures/mwb_K_202309.js index be70f9de..64baea2c 100644 --- a/test/fixtures/mwb_K_202309.js +++ b/test/fixtures/mwb_K_202309.js @@ -3,7 +3,7 @@ export default { mwbYear: '2023', weeksData: [ { - weekDate: '09/04/2023', + weekDate: '2023/09/04', weekDateLocale: '4—10 вересня', weeklyBibleReading: 'ЕСТЕР 1, 2', songFirst: 137, @@ -36,7 +36,7 @@ export default { songConclude: 101, }, { - weekDate: '09/11/2023', + weekDate: '2023/09/11', weekDateLocale: '11—17 вересня', weeklyBibleReading: 'ЕСТЕР 3—5', songFirst: 85, @@ -69,7 +69,7 @@ export default { songConclude: 125, }, { - weekDate: '09/18/2023', + weekDate: '2023/09/18', weekDateLocale: '18—24 вересня', weeklyBibleReading: 'ЕСТЕР 6—8', songFirst: 115, @@ -99,7 +99,7 @@ export default { songConclude: 124, }, { - weekDate: '09/25/2023', + weekDate: '2023/09/25', weekDateLocale: '25 вересня — 1 жовтня', weeklyBibleReading: 'ЕСТЕР 9, 10', songFirst: 102, @@ -129,7 +129,7 @@ export default { songConclude: 55, }, { - weekDate: '10/02/2023', + weekDate: '2023/10/02', weekDateLocale: '2—8 жовтня', weeklyBibleReading: 'ЙОВА 1—3', songFirst: 141, @@ -165,7 +165,7 @@ export default { songConclude: 129, }, { - weekDate: '10/09/2023', + weekDate: '2023/10/09', weekDateLocale: '9—15 жовтня', weeklyBibleReading: 'ЙОВА 4, 5', songFirst: 121, @@ -193,7 +193,7 @@ export default { songConclude: 38, }, { - weekDate: '10/16/2023', + weekDate: '2023/10/16', weekDateLocale: '16—22 жовтня', weeklyBibleReading: 'ЙОВА 6, 7', songFirst: 33, @@ -223,7 +223,7 @@ export default { songConclude: 143, }, { - weekDate: '10/23/2023', + weekDate: '2023/10/23', weekDateLocale: '23—29 жовтня', weeklyBibleReading: 'ЙОВА 8—10', songFirst: 107, @@ -255,7 +255,7 @@ export default { songConclude: 64, }, { - weekDate: '10/30/2023', + weekDate: '2023/10/30', weekDateLocale: '30 жовтня — 5 листопада', weeklyBibleReading: 'ЙОВА 11, 12', songFirst: 87, diff --git a/test/fixtures/mwb_MG_202309.js b/test/fixtures/mwb_MG_202309.js index a0bf8d32..589d6559 100644 --- a/test/fixtures/mwb_MG_202309.js +++ b/test/fixtures/mwb_MG_202309.js @@ -1,6 +1,6 @@ export default [ { - mwb_week_date: '09/04/2023', + mwb_week_date: '2023/09/04', mwb_week_date_locale: '4-10 Septambra', mwb_weekly_bible_reading: 'ESTERA 1-2', mwb_song_first: 137, @@ -32,7 +32,7 @@ export default [ mwb_song_conclude: 101, }, { - mwb_week_date: '09/11/2023', + mwb_week_date: '2023/09/11', mwb_week_date_locale: '11-17 Septambra', mwb_weekly_bible_reading: 'ESTERA 3-5', mwb_song_first: 85, @@ -62,7 +62,7 @@ export default [ mwb_song_conclude: 125, }, { - mwb_week_date: '09/18/2023', + mwb_week_date: '2023/09/18', mwb_week_date_locale: '18-24 Septambra', mwb_weekly_bible_reading: 'ESTERA 6-8', mwb_song_first: 115, @@ -90,7 +90,7 @@ export default [ mwb_song_conclude: 124, }, { - mwb_week_date: '09/25/2023', + mwb_week_date: '2023/09/25', mwb_week_date_locale: '25 Septambra–1 Oktobra', mwb_weekly_bible_reading: 'ESTERA 9-10', mwb_song_first: 102, @@ -116,7 +116,7 @@ export default [ mwb_song_conclude: 55, }, { - mwb_week_date: '10/02/2023', + mwb_week_date: '2023/10/02', mwb_week_date_locale: '2-8 Oktobra', mwb_weekly_bible_reading: 'JOBA 1-3', mwb_song_first: 141, @@ -148,7 +148,7 @@ export default [ mwb_song_conclude: 129, }, { - mwb_week_date: '10/09/2023', + mwb_week_date: '2023/10/09', mwb_week_date_locale: '9-15 Oktobra', mwb_weekly_bible_reading: 'JOBA 4-5', mwb_song_first: 121, @@ -173,7 +173,7 @@ export default [ mwb_song_conclude: 38, }, { - mwb_week_date: '10/16/2023', + mwb_week_date: '2023/10/16', mwb_week_date_locale: '16-22 Oktobra', mwb_weekly_bible_reading: 'JOBA 6-7', mwb_song_first: 33, @@ -201,7 +201,7 @@ export default [ mwb_song_conclude: 143, }, { - mwb_week_date: '10/23/2023', + mwb_week_date: '2023/10/23', mwb_week_date_locale: '23-29 Oktobra', mwb_weekly_bible_reading: 'JOBA 8-10', mwb_song_first: 107, @@ -231,7 +231,7 @@ export default [ mwb_song_conclude: 95, }, { - mwb_week_date: '10/30/2023', + mwb_week_date: '2023/10/30', mwb_week_date_locale: '30 Oktobra–5 Novambra', mwb_weekly_bible_reading: 'JOBA 11-12', mwb_song_first: 87, diff --git a/test/fixtures/mwb_TND_202309.js b/test/fixtures/mwb_TND_202309.js index 059515bf..e992b278 100644 --- a/test/fixtures/mwb_TND_202309.js +++ b/test/fixtures/mwb_TND_202309.js @@ -1,6 +1,6 @@ export default [ { - mwb_week_date: '09/04/2023', + mwb_week_date: '2023/09/04', mwb_week_date_locale: '4-10 Septambra', mwb_weekly_bible_reading: 'ESTERA 1-2', mwb_song_first: 137, @@ -31,7 +31,7 @@ export default [ mwb_song_conclude: 101, }, { - mwb_week_date: '09/11/2023', + mwb_week_date: '2023/09/11', mwb_week_date_locale: '11-17 Septambra', mwb_weekly_bible_reading: 'ESTERA 3-5', mwb_song_first: 85, @@ -61,7 +61,7 @@ export default [ mwb_song_conclude: 125, }, { - mwb_week_date: '09/18/2023', + mwb_week_date: '2023/09/18', mwb_week_date_locale: '18-24 Septambra', mwb_weekly_bible_reading: 'ESTERA 6-8', mwb_song_first: 115, @@ -89,7 +89,7 @@ export default [ mwb_song_conclude: 124, }, { - mwb_week_date: '09/25/2023', + mwb_week_date: '2023/09/25', mwb_week_date_locale: '25 Septambra–1 Oktobra', mwb_weekly_bible_reading: 'ESTERA 9-10', mwb_song_first: 102, @@ -115,7 +115,7 @@ export default [ mwb_song_conclude: 55, }, { - mwb_week_date: '10/02/2023', + mwb_week_date: '2023/10/02', mwb_week_date_locale: '2-8 Oktobra', mwb_weekly_bible_reading: 'JOBA 1-3', mwb_song_first: 141, @@ -147,7 +147,7 @@ export default [ mwb_song_conclude: 129, }, { - mwb_week_date: '10/09/2023', + mwb_week_date: '2023/10/09', mwb_week_date_locale: '9-15 Oktobra ', mwb_weekly_bible_reading: 'JOBA 4-5', mwb_song_first: 121, @@ -172,7 +172,7 @@ export default [ mwb_song_conclude: 38, }, { - mwb_week_date: '10/16/2023', + mwb_week_date: '2023/10/16', mwb_week_date_locale: '16-22 Oktobra', mwb_weekly_bible_reading: 'JOBA 6-7', mwb_song_first: 33, @@ -200,7 +200,7 @@ export default [ mwb_song_conclude: 143, }, { - mwb_week_date: '10/23/2023', + mwb_week_date: '2023/10/23', mwb_week_date_locale: '23-29 Oktobra', mwb_weekly_bible_reading: 'JOBA 8-10', mwb_song_first: 107, @@ -229,7 +229,7 @@ export default [ mwb_song_conclude: 95, }, { - mwb_week_date: '10/30/2023', + mwb_week_date: '2023/10/30', mwb_week_date_locale: '30 Oktobra–5 Novambra', mwb_weekly_bible_reading: 'JOBA 11-12', mwb_song_first: 87, diff --git a/test/fixtures/mwb_TNK_202309.js b/test/fixtures/mwb_TNK_202309.js index 901bab95..5486323e 100644 --- a/test/fixtures/mwb_TNK_202309.js +++ b/test/fixtures/mwb_TNK_202309.js @@ -1,6 +1,6 @@ export default [ { - mwb_week_date: '09/04/2023', + mwb_week_date: '2023/09/04', mwb_week_date_locale: '4-10 Septambra', mwb_weekly_bible_reading: 'ESTERA 1-2', mwb_song_first: 137, @@ -31,7 +31,7 @@ export default [ mwb_song_conclude: 101, }, { - mwb_week_date: '09/11/2023', + mwb_week_date: '2023/09/11', mwb_week_date_locale: '11-17 Septambra', mwb_weekly_bible_reading: 'ESTERA 3-5', mwb_song_first: 85, @@ -61,7 +61,7 @@ export default [ mwb_song_conclude: 125, }, { - mwb_week_date: '09/18/2023', + mwb_week_date: '2023/09/18', mwb_week_date_locale: '18-24 Septambra', mwb_weekly_bible_reading: 'ESTERA 6-8', mwb_song_first: 115, @@ -89,7 +89,7 @@ export default [ mwb_song_conclude: 124, }, { - mwb_week_date: '09/25/2023', + mwb_week_date: '2023/09/25', mwb_week_date_locale: '25 Septambra–1 Oktobra', mwb_weekly_bible_reading: 'ESTERA 9-10', mwb_song_first: 102, @@ -115,7 +115,7 @@ export default [ mwb_song_conclude: 55, }, { - mwb_week_date: '10/02/2023', + mwb_week_date: '2023/10/02', mwb_week_date_locale: '2-8 Oktobra', mwb_weekly_bible_reading: 'JOBA 1-3', mwb_song_first: 141, @@ -147,7 +147,7 @@ export default [ mwb_song_conclude: 129, }, { - mwb_week_date: '10/09/2023', + mwb_week_date: '2023/10/09', mwb_week_date_locale: '9-15 Oktobra', mwb_weekly_bible_reading: 'JOBA 4-5', mwb_song_first: 121, @@ -172,7 +172,7 @@ export default [ mwb_song_conclude: 38, }, { - mwb_week_date: '10/16/2023', + mwb_week_date: '2023/10/16', mwb_week_date_locale: '16-22 Oktobra', mwb_weekly_bible_reading: 'JOBA 6-7', mwb_song_first: 33, @@ -200,7 +200,7 @@ export default [ mwb_song_conclude: 143, }, { - mwb_week_date: '10/23/2023', + mwb_week_date: '2023/10/23', mwb_week_date_locale: '23-29 Oktobra', mwb_weekly_bible_reading: 'JOBA 8-10', mwb_song_first: 107, @@ -229,7 +229,7 @@ export default [ mwb_song_conclude: 95, }, { - mwb_week_date: '10/30/2023', + mwb_week_date: '2023/10/30', mwb_week_date_locale: '30 Oktobra–5 Novambra', mwb_weekly_bible_reading: 'JOBA 11-12', mwb_song_first: 87, diff --git a/test/fixtures/mwb_VZ_202309.js b/test/fixtures/mwb_VZ_202309.js index 93e42d69..7adc6b1d 100644 --- a/test/fixtures/mwb_VZ_202309.js +++ b/test/fixtures/mwb_VZ_202309.js @@ -1,6 +1,6 @@ export default [ { - mwb_week_date: '09/04/2023', + mwb_week_date: '2023/09/04', mwb_week_date_locale: '4-10 Septambra', mwb_weekly_bible_reading: 'ESTERA 1-2', mwb_song_first: 137, @@ -31,7 +31,7 @@ export default [ mwb_song_conclude: 101, }, { - mwb_week_date: '09/11/2023', + mwb_week_date: '2023/09/11', mwb_week_date_locale: '11-17 Septambra', mwb_weekly_bible_reading: 'ESTERA 3-5', mwb_song_first: 85, @@ -61,7 +61,7 @@ export default [ mwb_song_conclude: 125, }, { - mwb_week_date: '09/18/2023', + mwb_week_date: '2023/09/18', mwb_week_date_locale: '18-24 Septambra', mwb_weekly_bible_reading: 'ESTERA 6-8', mwb_song_first: 115, @@ -89,7 +89,7 @@ export default [ mwb_song_conclude: 124, }, { - mwb_week_date: '09/25/2023', + mwb_week_date: '2023/09/25', mwb_week_date_locale: '25 Septambra–1 Oktobra', mwb_weekly_bible_reading: 'ESTERA 9-10', mwb_song_first: 102, @@ -115,7 +115,7 @@ export default [ mwb_song_conclude: 55, }, { - mwb_week_date: '10/02/2023', + mwb_week_date: '2023/10/02', mwb_week_date_locale: '2-8 Oktobra', mwb_weekly_bible_reading: 'JOBA 1-3', mwb_song_first: 141, @@ -147,7 +147,7 @@ export default [ mwb_song_conclude: 129, }, { - mwb_week_date: '10/09/2023', + mwb_week_date: '2023/10/09', mwb_week_date_locale: '9-15 Oktobra', mwb_weekly_bible_reading: 'JOBA 4-5', mwb_song_first: 121, @@ -172,7 +172,7 @@ export default [ mwb_song_conclude: 38, }, { - mwb_week_date: '10/16/2023', + mwb_week_date: '2023/10/16', mwb_week_date_locale: '16-22 Oktobra', mwb_weekly_bible_reading: 'JOBA 6-7', mwb_song_first: 33, @@ -200,7 +200,7 @@ export default [ mwb_song_conclude: 143, }, { - mwb_week_date: '10/23/2023', + mwb_week_date: '2023/10/23', mwb_week_date_locale: '23-29 Oktobra', mwb_weekly_bible_reading: 'JOBA 8-10', mwb_song_first: 107, @@ -229,7 +229,7 @@ export default [ mwb_song_conclude: 95, }, { - mwb_week_date: '10/30/2023', + mwb_week_date: '2023/10/30', mwb_week_date_locale: '30 Oktobra–5 Novambra', mwb_weekly_bible_reading: 'JOBA 11-12', mwb_song_first: 87, diff --git a/test/fixtures/mwb_X_202309.js b/test/fixtures/mwb_X_202309.js index 83f5e0cc..c8391fa1 100644 --- a/test/fixtures/mwb_X_202309.js +++ b/test/fixtures/mwb_X_202309.js @@ -3,7 +3,7 @@ export default { mwbYear: '2023', weeksData: [ { - weekDate: '09/04/2023', + weekDate: '2023/09/04', weekDateLocale: '4.–10. September', weeklyBibleReading: 'ESTHER 1–2', songFirst: 137, @@ -36,7 +36,7 @@ export default { songConclude: 101, }, { - weekDate: '09/11/2023', + weekDate: '2023/09/11', weekDateLocale: '11.–17. September', weeklyBibleReading: 'ESTHER 3–5', songFirst: 85, @@ -69,7 +69,7 @@ export default { songConclude: 125, }, { - weekDate: '09/18/2023', + weekDate: '2023/09/18', weekDateLocale: '18.–24. September', weeklyBibleReading: 'ESTHER 6–8', songFirst: 115, @@ -99,7 +99,7 @@ export default { songConclude: 124, }, { - weekDate: '09/25/2023', + weekDate: '2023/09/25', weekDateLocale: '25. September – 1. Oktober', weeklyBibleReading: 'ESTHER 9–10', songFirst: 102, @@ -129,7 +129,7 @@ export default { songConclude: 55, }, { - weekDate: '10/02/2023', + weekDate: '2023/10/02', weekDateLocale: '2.–8. Oktober', weeklyBibleReading: 'HIOB 1–3', songFirst: 141, @@ -164,7 +164,7 @@ export default { songConclude: 129, }, { - weekDate: '10/09/2023', + weekDate: '2023/10/09', weekDateLocale: '9.–15. Oktober', weeklyBibleReading: 'HIOB 4–5', songFirst: 121, @@ -193,7 +193,7 @@ export default { songConclude: 38, }, { - weekDate: '10/16/2023', + weekDate: '2023/10/16', weekDateLocale: '16.–22. Oktober', weeklyBibleReading: 'HIOB 6–7', songFirst: 33, @@ -222,7 +222,7 @@ export default { songConclude: 143, }, { - weekDate: '10/23/2023', + weekDate: '2023/10/23', weekDateLocale: '23.–29. Oktober', weeklyBibleReading: 'HIOB 8–10', songFirst: 107, @@ -254,7 +254,7 @@ export default { songConclude: 64, }, { - weekDate: '10/30/2023', + weekDate: '2023/10/30', weekDateLocale: '30. Oktober – 5. November', weeklyBibleReading: 'HIOB 11–12', songFirst: 87, diff --git a/test/fixtures/w_E_202309.js b/test/fixtures/w_E_202309.js index 49322917..b0ba7223 100644 --- a/test/fixtures/w_E_202309.js +++ b/test/fixtures/w_E_202309.js @@ -1,37 +1,37 @@ export default [ - { - w_study_date: '11/06/2023', - w_study_date_locale: 'Study Article 37: November 6-12, 2023', - w_study_title: 'Rely on Jehovah, as Samson Did', - w_study_opening_song: 30, - w_study_concluding_song: 3, - }, - { - w_study_date: '11/13/2023', - w_study_date_locale: 'Study Article 38: November 13-19, 2023', - w_study_title: 'Young Ones​—How Will Your Life Turn Out?', - w_study_opening_song: 135, - w_study_concluding_song: 144, - }, - { - w_study_date: '11/20/2023', - w_study_date_locale: 'Study Article 39: November 20-26, 2023', - w_study_title: 'Let Mildness Be Your Strength', - w_study_opening_song: 120, - w_study_concluding_song: 88, - }, - { - w_study_date: '11/27/2023', - w_study_date_locale: 'Study Article 40: November 27, 2023–December 3, 2023', - w_study_title: 'Like Peter, You Can Persevere', - w_study_opening_song: 38, - w_study_concluding_song: 126, - }, - { - w_study_date: '12/04/2023', - w_study_date_locale: 'Study Article 41: December 4-10, 2023', - w_study_title: 'Lessons We Can Learn From Peter’s Two Letters', - w_study_opening_song: 127, - w_study_concluding_song: 109, - }, + { + w_study_date: '2023/11/06', + w_study_date_locale: 'Study Article 37: November 6-12, 2023', + w_study_title: 'Rely on Jehovah, as Samson Did', + w_study_opening_song: 30, + w_study_concluding_song: 3, + }, + { + w_study_date: '2023/11/13', + w_study_date_locale: 'Study Article 38: November 13-19, 2023', + w_study_title: 'Young Ones​—How Will Your Life Turn Out?', + w_study_opening_song: 135, + w_study_concluding_song: 144, + }, + { + w_study_date: '2023/11/20', + w_study_date_locale: 'Study Article 39: November 20-26, 2023', + w_study_title: 'Let Mildness Be Your Strength', + w_study_opening_song: 120, + w_study_concluding_song: 88, + }, + { + w_study_date: '2023/11/27', + w_study_date_locale: 'Study Article 40: November 27, 2023–December 3, 2023', + w_study_title: 'Like Peter, You Can Persevere', + w_study_opening_song: 38, + w_study_concluding_song: 126, + }, + { + w_study_date: '2023/12/04', + w_study_date_locale: 'Study Article 41: December 4-10, 2023', + w_study_title: 'Lessons We Can Learn From Peter’s Two Letters', + w_study_opening_song: 127, + w_study_concluding_song: 109, + }, ]; diff --git a/test/fixtures/w_F_202309.js b/test/fixtures/w_F_202309.js index a8684b0e..a1e3303f 100644 --- a/test/fixtures/w_F_202309.js +++ b/test/fixtures/w_F_202309.js @@ -1,37 +1,37 @@ export default [ - { - w_study_date: '11/06/2023', - w_study_date_locale: 'Article d’étude no 37 : 6-12 novembre 2023', - w_study_title: 'Comme Samson, mets ta confiance en Jéhovah', - w_study_opening_song: 30, - w_study_concluding_song: 3, - }, - { - w_study_date: '11/13/2023', - w_study_date_locale: 'Article d’étude no 38 : 13-19 novembre 2023', - w_study_title: 'Jeunes, quel genre de vie aurez-vous ?', - w_study_opening_song: 135, - w_study_concluding_song: 144, - }, - { - w_study_date: '11/20/2023', - w_study_date_locale: 'Article d’étude no 39 : 20-26 novembre 2023', - w_study_title: 'Que ta douceur soit ta force !', - w_study_opening_song: 120, - w_study_concluding_song: 88, - }, - { - w_study_date: '11/27/2023', - w_study_date_locale: 'Article d’étude no 40 : 27 novembre 2023 – 3 décembre 2023', - w_study_title: 'Comme Pierre, tu peux être persévérant', - w_study_opening_song: 38, - w_study_concluding_song: 126, - }, - { - w_study_date: '12/04/2023', - w_study_date_locale: 'Article d’étude no 41 : 4-10 décembre 2023', - w_study_title: 'Des leçons que nous enseignent les deux lettres de Pierre', - w_study_opening_song: 127, - w_study_concluding_song: 109, - }, + { + w_study_date: '2023/11/06', + w_study_date_locale: 'Article d’étude no 37 : 6-12 novembre 2023', + w_study_title: 'Comme Samson, mets ta confiance en Jéhovah', + w_study_opening_song: 30, + w_study_concluding_song: 3, + }, + { + w_study_date: '2023/11/13', + w_study_date_locale: 'Article d’étude no 38 : 13-19 novembre 2023', + w_study_title: 'Jeunes, quel genre de vie aurez-vous ?', + w_study_opening_song: 135, + w_study_concluding_song: 144, + }, + { + w_study_date: '2023/11/20', + w_study_date_locale: 'Article d’étude no 39 : 20-26 novembre 2023', + w_study_title: 'Que ta douceur soit ta force !', + w_study_opening_song: 120, + w_study_concluding_song: 88, + }, + { + w_study_date: '2023/11/27', + w_study_date_locale: 'Article d’étude no 40 : 27 novembre 2023 – 3 décembre 2023', + w_study_title: 'Comme Pierre, tu peux être persévérant', + w_study_opening_song: 38, + w_study_concluding_song: 126, + }, + { + w_study_date: '2023/12/04', + w_study_date_locale: 'Article d’étude no 41 : 4-10 décembre 2023', + w_study_title: 'Des leçons que nous enseignent les deux lettres de Pierre', + w_study_opening_song: 127, + w_study_concluding_song: 109, + }, ]; diff --git a/test/fixtures/w_K_202309.js b/test/fixtures/w_K_202309.js index 5c83c4ad..fff724bc 100644 --- a/test/fixtures/w_K_202309.js +++ b/test/fixtures/w_K_202309.js @@ -1,34 +1,34 @@ export default [ { - w_study_date: '11/06/2023', + w_study_date: '2023/11/06', w_study_date_locale: 'Стаття для вивчення 37 (6—12 листопада 2023)', w_study_title: 'Покладайтесь на Єгову, як Самсон', w_study_opening_song: 30, w_study_concluding_song: 3, }, { - w_study_date: '11/13/2023', + w_study_date: '2023/11/13', w_study_date_locale: 'Стаття для вивчення 38 (13—19 листопада 2023)', w_study_title: 'Хлопці та дівчата, яким ви бачите своє майбутнє?', w_study_opening_song: 135, w_study_concluding_song: 144, }, { - w_study_date: '11/20/2023', + w_study_date: '2023/11/20', w_study_date_locale: 'Стаття для вивчення 39 (20—26 листопада 2023)', w_study_title: 'Нехай лагідність буде твоєю сильною стороною', w_study_opening_song: 120, w_study_concluding_song: 88, }, { - w_study_date: '11/27/2023', + w_study_date: '2023/11/27', w_study_date_locale: 'Стаття для вивчення 40 (27 листопада 2023 — 3 грудня 2023)', w_study_title: 'Петро не здавався, не здавайтесь і ви', w_study_opening_song: 38, w_study_concluding_song: 126, }, { - w_study_date: '12/04/2023', + w_study_date: '2023/12/04', w_study_date_locale: 'Стаття для вивчення 41 (4—10 грудня 2023)', w_study_title: 'Чого нас вчать листи апостола Петра?', w_study_opening_song: 127, diff --git a/test/fixtures/w_MG_202309.js b/test/fixtures/w_MG_202309.js index 439d4381..09dca979 100644 --- a/test/fixtures/w_MG_202309.js +++ b/test/fixtures/w_MG_202309.js @@ -1,37 +1,37 @@ export default [ - { - w_study_date: '11/06/2023', - w_study_date_locale: 'Lahatsoratra Fianarana 37: 6-12 Novambra 2023', - w_study_title: 'Miantehera Amin’i Jehovah, Hoatran’i Samsona', - w_study_opening_song: 30, - w_study_concluding_song: 3, - }, - { - w_study_date: '11/13/2023', - w_study_date_locale: 'Lahatsoratra Fianarana 38: 13-19 Novambra 2023', - w_study_title: 'Ry Tanora, Tianareo Hanao Ahoana ny Fiainanareo?', - w_study_opening_song: 135, - w_study_concluding_song: 144, - }, - { - w_study_date: '11/20/2023', - w_study_date_locale: 'Lahatsoratra Fianarana 39: 20-26 Novambra 2023', - w_study_title: 'Malemy Fanahy Nefa Matanjaka', - w_study_opening_song: 120, - w_study_concluding_song: 88, - }, - { - w_study_date: '11/27/2023', - w_study_date_locale: 'Lahatsoratra Fianarana 40: 27 Novambra 2023–3 Desambra 2023', - w_study_title: 'Ho Vitanao io, Hoatran’i Petera!', - w_study_opening_song: 38, - w_study_concluding_song: 126, - }, - { - w_study_date: '12/04/2023', - w_study_date_locale: 'Lahatsoratra Fianarana 41: 4-10 Desambra 2023', - w_study_title: 'Lesona avy Amin’ny Taratasy Roa Nosoratan’i Petera', - w_study_opening_song: 127, - w_study_concluding_song: 109, - }, + { + w_study_date: '2023/11/06', + w_study_date_locale: 'Lahatsoratra Fianarana 37: 6-12 Novambra 2023', + w_study_title: 'Miantehera Amin’i Jehovah, Hoatran’i Samsona', + w_study_opening_song: 30, + w_study_concluding_song: 3, + }, + { + w_study_date: '2023/11/13', + w_study_date_locale: 'Lahatsoratra Fianarana 38: 13-19 Novambra 2023', + w_study_title: 'Ry Tanora, Tianareo Hanao Ahoana ny Fiainanareo?', + w_study_opening_song: 135, + w_study_concluding_song: 144, + }, + { + w_study_date: '2023/11/20', + w_study_date_locale: 'Lahatsoratra Fianarana 39: 20-26 Novambra 2023', + w_study_title: 'Malemy Fanahy Nefa Matanjaka', + w_study_opening_song: 120, + w_study_concluding_song: 88, + }, + { + w_study_date: '2023/11/27', + w_study_date_locale: 'Lahatsoratra Fianarana 40: 27 Novambra 2023–3 Desambra 2023', + w_study_title: 'Ho Vitanao io, Hoatran’i Petera!', + w_study_opening_song: 38, + w_study_concluding_song: 126, + }, + { + w_study_date: '2023/12/04', + w_study_date_locale: 'Lahatsoratra Fianarana 41: 4-10 Desambra 2023', + w_study_title: 'Lesona avy Amin’ny Taratasy Roa Nosoratan’i Petera', + w_study_opening_song: 127, + w_study_concluding_song: 109, + }, ]; diff --git a/test/fixtures/w_TND_202309.js b/test/fixtures/w_TND_202309.js index 8e0ee32f..b5927690 100644 --- a/test/fixtures/w_TND_202309.js +++ b/test/fixtures/w_TND_202309.js @@ -1,37 +1,37 @@ export default [ - { - w_study_date: '11/06/2023', - w_study_date_locale: 'Lahatsoratse Fianaragne 37: 6-12 Novambra 2023', - w_study_title: 'Miantehera amy i Jehovah Manahake i Samsona', - w_study_opening_song: 30, - w_study_concluding_song: 3, - }, - { - w_study_date: '11/13/2023', - w_study_date_locale: 'Lahatsoratse Fianaragne 38: 13-19 Novambra 2023', - w_study_title: 'Ry Tanora, Tea’areo vao ty ho Sambatse amy ty Fiaignagne?', - w_study_opening_song: 135, - w_study_concluding_song: 144, - }, - { - w_study_date: '11/20/2023', - w_study_date_locale: 'Lahatsoratse Fianaragne 39: 20-26 Novambra 2023', - w_study_title: 'Toetse Tena Sarobily ty Fahalemem-pagnahy', - w_study_opening_song: 120, - w_study_concluding_song: 88, - }, - { - w_study_date: '11/27/2023', - w_study_date_locale: 'Lahatsoratse Fianaragne 40: 27 Novambra 2023–3 Desambra 2023', - w_study_title: 'Ko Kivy fa Manompoa i Jehovah Avao Manahake i Petera', - w_study_opening_song: 38, - w_study_concluding_song: 126, - }, - { - w_study_date: '12/04/2023', - w_study_date_locale: 'Lahatsoratse Fianaragne 41: 4-10 Desambra 2023', - w_study_title: 'Lesogne Boake amy ty Taratasy Roe Nisorate i Petera', - w_study_opening_song: 127, - w_study_concluding_song: 109, - }, + { + w_study_date: '2023/11/06', + w_study_date_locale: 'Lahatsoratse Fianaragne 37: 6-12 Novambra 2023', + w_study_title: 'Miantehera amy i Jehovah Manahake i Samsona', + w_study_opening_song: 30, + w_study_concluding_song: 3, + }, + { + w_study_date: '2023/11/13', + w_study_date_locale: 'Lahatsoratse Fianaragne 38: 13-19 Novambra 2023', + w_study_title: 'Ry Tanora, Tea’areo vao ty ho Sambatse amy ty Fiaignagne?', + w_study_opening_song: 135, + w_study_concluding_song: 144, + }, + { + w_study_date: '2023/11/20', + w_study_date_locale: 'Lahatsoratse Fianaragne 39: 20-26 Novambra 2023', + w_study_title: 'Toetse Tena Sarobily ty Fahalemem-pagnahy', + w_study_opening_song: 120, + w_study_concluding_song: 88, + }, + { + w_study_date: '2023/11/27', + w_study_date_locale: 'Lahatsoratse Fianaragne 40: 27 Novambra 2023–3 Desambra 2023', + w_study_title: 'Ko Kivy fa Manompoa i Jehovah Avao Manahake i Petera', + w_study_opening_song: 38, + w_study_concluding_song: 126, + }, + { + w_study_date: '2023/12/04', + w_study_date_locale: 'Lahatsoratse Fianaragne 41: 4-10 Desambra 2023', + w_study_title: 'Lesogne Boake amy ty Taratasy Roe Nisorate i Petera', + w_study_opening_song: 127, + w_study_concluding_song: 109, + }, ]; diff --git a/test/fixtures/w_TNK_202309.js b/test/fixtures/w_TNK_202309.js index 768e71f1..fb7df648 100644 --- a/test/fixtures/w_TNK_202309.js +++ b/test/fixtures/w_TNK_202309.js @@ -1,37 +1,37 @@ export default [ - { - w_study_date: '11/06/2023', - w_study_date_locale: 'Lahatsoratra Fianaran̈a 37: 6-12 Novambra 2023', - w_study_title: 'Karaha Samsona, Milampia amy Jehovah', - w_study_opening_song: 30, - w_study_concluding_song: 3, - }, - { - w_study_date: '11/13/2023', - w_study_date_locale: 'Lahatsoratra Fianaran̈a 38: 13-19 Novambra 2023', - w_study_title: 'Tianaro Tanora Han̈ano Akory Fiain̈ananaro?', - w_study_opening_song: 135, - w_study_concluding_song: 144, - }, - { - w_study_date: '11/20/2023', - w_study_date_locale: 'Lahatsoratra Fianaran̈a 39: 20-26 Novambra 2023', - w_study_title: 'Malemy Toetry Kanefa Matanjaka', - w_study_opening_song: 120, - w_study_concluding_song: 88, - }, - { - w_study_date: '11/27/2023', - w_study_date_locale: 'Lahatsoratra Fianaran̈a 40: 27 Novambra 2023–3 Desambra 2023', - w_study_title: 'Karaha Petera, Aza Man̈eky Kivy', - w_study_opening_song: 38, - w_study_concluding_song: 126, - }, - { - w_study_date: '12/04/2023', - w_study_date_locale: 'Lahatsoratra Fianaran̈a 41: 4-10 Desambra 2023', - w_study_title: 'Leson Baka amy Taratasy Aroe Nisoratiny Petera', - w_study_opening_song: 127, - w_study_concluding_song: 109, - }, + { + w_study_date: '2023/11/06', + w_study_date_locale: 'Lahatsoratra Fianaran̈a 37: 6-12 Novambra 2023', + w_study_title: 'Karaha Samsona, Milampia amy Jehovah', + w_study_opening_song: 30, + w_study_concluding_song: 3, + }, + { + w_study_date: '2023/11/13', + w_study_date_locale: 'Lahatsoratra Fianaran̈a 38: 13-19 Novambra 2023', + w_study_title: 'Tianaro Tanora Han̈ano Akory Fiain̈ananaro?', + w_study_opening_song: 135, + w_study_concluding_song: 144, + }, + { + w_study_date: '2023/11/20', + w_study_date_locale: 'Lahatsoratra Fianaran̈a 39: 20-26 Novambra 2023', + w_study_title: 'Malemy Toetry Kanefa Matanjaka', + w_study_opening_song: 120, + w_study_concluding_song: 88, + }, + { + w_study_date: '2023/11/27', + w_study_date_locale: 'Lahatsoratra Fianaran̈a 40: 27 Novambra 2023–3 Desambra 2023', + w_study_title: 'Karaha Petera, Aza Man̈eky Kivy', + w_study_opening_song: 38, + w_study_concluding_song: 126, + }, + { + w_study_date: '2023/12/04', + w_study_date_locale: 'Lahatsoratra Fianaran̈a 41: 4-10 Desambra 2023', + w_study_title: 'Leson Baka amy Taratasy Aroe Nisoratiny Petera', + w_study_opening_song: 127, + w_study_concluding_song: 109, + }, ]; diff --git a/test/fixtures/w_VZ_202309.js b/test/fixtures/w_VZ_202309.js index e69710d3..bfe5a310 100644 --- a/test/fixtures/w_VZ_202309.js +++ b/test/fixtures/w_VZ_202309.js @@ -1,37 +1,37 @@ export default [ - { - w_study_date: '11/06/2023', - w_study_date_locale: 'Lahatsoratsy Fianara 37: 6-12 Novambra 2023', - w_study_title: 'Miantehera amy Jehovah, Manahaky ani-Samsona', - w_study_opening_song: 30, - w_study_concluding_song: 3, - }, - { - w_study_date: '11/13/2023', - w_study_date_locale: 'Lahatsoratsy Fianara 38: 13-19 Novambra 2023', - w_study_title: 'Nareo Tanora, Fiaina Manao Akory ro Teanareo Hanana?', - w_study_opening_song: 135, - w_study_concluding_song: 144, - }, - { - w_study_date: '11/20/2023', - w_study_date_locale: 'Lahatsoratsy Fianara 39: 20-26 Novambra 2023', - w_study_title: 'Be Herim-po Iha Laha Malemy Fanahy', - w_study_opening_song: 120, - w_study_concluding_song: 88, - }, - { - w_study_date: '11/27/2023', - w_study_date_locale: 'Lahatsoratsy Fianara 40: 27 Novambra 2023–3 Desambra 2023', - w_study_title: 'Manompoa ani-Jehovah Avao Manahaky ani-Petera', - w_study_opening_song: 38, - w_study_concluding_song: 126, - }, - { - w_study_date: '12/04/2023', - w_study_date_locale: 'Lahatsoratsy Fianara 41: 4-10 Desambra 2023', - w_study_title: 'Ino ty Azontsika Ianara Baka amy Taratasy Roe Nisoratini-Petera Rey?', - w_study_opening_song: 127, - w_study_concluding_song: 109, - }, + { + w_study_date: '2023/11/06', + w_study_date_locale: 'Lahatsoratsy Fianara 37: 6-12 Novambra 2023', + w_study_title: 'Miantehera amy Jehovah, Manahaky ani-Samsona', + w_study_opening_song: 30, + w_study_concluding_song: 3, + }, + { + w_study_date: '2023/11/13', + w_study_date_locale: 'Lahatsoratsy Fianara 38: 13-19 Novambra 2023', + w_study_title: 'Nareo Tanora, Fiaina Manao Akory ro Teanareo Hanana?', + w_study_opening_song: 135, + w_study_concluding_song: 144, + }, + { + w_study_date: '2023/11/20', + w_study_date_locale: 'Lahatsoratsy Fianara 39: 20-26 Novambra 2023', + w_study_title: 'Be Herim-po Iha Laha Malemy Fanahy', + w_study_opening_song: 120, + w_study_concluding_song: 88, + }, + { + w_study_date: '2023/11/27', + w_study_date_locale: 'Lahatsoratsy Fianara 40: 27 Novambra 2023–3 Desambra 2023', + w_study_title: 'Manompoa ani-Jehovah Avao Manahaky ani-Petera', + w_study_opening_song: 38, + w_study_concluding_song: 126, + }, + { + w_study_date: '2023/12/04', + w_study_date_locale: 'Lahatsoratsy Fianara 41: 4-10 Desambra 2023', + w_study_title: 'Ino ty Azontsika Ianara Baka amy Taratasy Roe Nisoratini-Petera Rey?', + w_study_opening_song: 127, + w_study_concluding_song: 109, + }, ]; diff --git a/test/fixtures/w_X_202309.js b/test/fixtures/w_X_202309.js index ec00f1bc..0c5f345d 100644 --- a/test/fixtures/w_X_202309.js +++ b/test/fixtures/w_X_202309.js @@ -1,34 +1,34 @@ export default [ { - w_study_date: '11/06/2023', + w_study_date: '2023/11/06', w_study_date_locale: '37. Studienartikel: 6. bis 12. November 2023', w_study_title: 'Vertraue wie Simson auf Jehova', w_study_opening_song: 30, w_study_concluding_song: 3, }, { - w_study_date: '11/13/2023', + w_study_date: '2023/11/13', w_study_date_locale: '38. Studienartikel: 13. bis 19. November 2023', w_study_title: 'Was wirst du aus deinem Leben machen?', w_study_opening_song: 135, w_study_concluding_song: 144, }, { - w_study_date: '11/20/2023', + w_study_date: '2023/11/20', w_study_date_locale: '39. Studienartikel: 20. bis 26. November 2023', w_study_title: 'Mach Milde zu einer deiner Stärken', w_study_opening_song: 120, w_study_concluding_song: 88, }, { - w_study_date: '11/27/2023', + w_study_date: '2023/11/27', w_study_date_locale: '40. Studienartikel: 27. November 2023 bis 3. Dezember 2023', w_study_title: 'Gib wie Petrus nicht auf', w_study_opening_song: 38, w_study_concluding_song: 126, }, { - w_study_date: '12/04/2023', + w_study_date: '2023/12/04', w_study_date_locale: '41. Studienartikel: 4. bis 10. Dezember 2023', w_study_title: 'Was wir aus den beiden Petrusbriefen lernen können', w_study_opening_song: 127,