Skip to content

Latest commit

 

History

History
723 lines (426 loc) · 51.1 KB

CHANGELOG.md

File metadata and controls

723 lines (426 loc) · 51.1 KB

1.3.2 (2024-10-09)

Bug Fixes

  • check first week of subsequent year when geting period by date [LIBS-688] (#74) (8662fe0)

1.3.1 (2024-09-26)

Bug Fixes

  • add back eslint-disable (1e66fb5)
  • add tests (4bfaa7c)
  • address merge issues [LIBS-684] (6770573)
  • changes for data entry app [LIBS-684] (ea7e8af)
  • clean up for period generation in data entry app [LIBS-684] (4cabc55)
  • remove replaceAll, add locale check (c8c2e8a)

1.3.0 (2024-09-24)

Bug Fixes

  • format undefined when thers is a mismatch (79b54fd)
  • localise validation message in multi calendar (#61) (ead860b)
  • remove unnecessary console warn (b2d795d)

Features

  • expose function to convert dates (622f0eb)
  • expose function to convert dates (9d42640)
  • expose methods for converting between iso8601 and calendars (#37) (33fa25d)
  • reararnge memorized variables so that we only recompute them when necessary (b754dcc)
  • support min & max date, DD-MM-YYYY date format (#36) (3b2e57e)
  • validation: add and expose validateDateString utility (cb4c919)

1.3.0-alpha.2 (2024-08-28)

Bug Fixes

  • localise validation message in multi calendar (#61) (ead860b)

1.0.0-alpha.29 (2024-08-08)

Features

  • reararnge memorized variables so that we only recompute them when necessary (b754dcc)

1.0.0-alpha.28 (2024-08-08)

1.2.3 (2024-06-25)

Bug Fixes

  • format undefined when thers is a mismatch (79b54fd)

1.0.0-alpha.27 (2024-08-01)

  • LIBS-629: default 'ne' locale to Nepali script (9cf94d7)

1.2.2 (2024-06-25)

Bug Fixes

  • remove unnecessary console warn (b2d795d)

1.0.0-alpha.26 (2024-06-09)

  • initialise i18n properly (1a28c55)
  • update Calendar Localization data for nepali calendar (f172662)

1.2.1 (2024-06-24)

Bug Fixes

  • translations: sync translations from transifex (main) (d9f6fd2)

1.2.0 (2024-06-24)

Features

  • support min & max date, DD-MM-YYYY date format (#36) (3b2e57e)

1.0.0-alpha.25 (2024-05-27)

  • add i18n/transifex support (7c3d3af)

1.1.2 (2024-06-17)

Bug Fixes

  • force publish Temporal pin (e676ef5)

1.1.1 (2024-04-08)

Bug Fixes

  • deps: relax peer deps requirements to avoid conflicts [LIBS-587] (#33) (662a3eb)

1.1.0 (2024-01-10)

Bug Fixes

  • generate daily fixed periods: use correct comparison for "endsBefore" (#21) (3cdb2be)

Features

  • expose methods for converting between iso8601 and calendars (#37) (33fa25d)

1.0.0-alpha.24 (2024-05-15)

Features

  • expose function to convert dates (622f0eb)
  • expose function to convert dates (9d42640)

1.0.0-alpha.23 (2024-02-26)

Features

  • validation: add and expose validateDateString utility (cb4c919)
  • add createFixedPeriodFromPeriodId method (#13) (ef1132e)
  • add getFixedPeriodByDate (#14) (9de82e0)
  • add getSiblingFixedPeriods (#15) (59cb406)
  • generate fixed periods: add "endsBefore" option (#20) (6667c97)

1.0.2 (2023-03-09)

Bug Fixes

  • use custom locale when it exists (#23) (3cfb58a)

1.0.1 (2023-03-09)

Bug Fixes

  • parse date correctly when a dhis2 calendar type is passed (#22) (08c8032)

1.0.0-alpha.22 (2023-03-06)

Bug Fixes

  • generate daily fixed periods: use correct comparison for "endsBefore" (#21) (3cdb2be)

1.0.0-alpha.21 (2023-03-02)

Features

1.0.0-alpha.20 (2023-03-02)

Features

1.0.0-alpha.19 (2023-03-01)

Features

  • generate fixed periods: add "endsBefore" option (#20) (6667c97)
  • add createFixedPeriodFromPeriodId method (#13) (ef1132e)

1.0.0 (2023-02-23)

Bug Fixes

  • add eraYear to nepali calendar (c725d96)
  • change build process to emit cjs and es modules (#10) (1102de8)
  • change english-nepal code to en-NP (not ne-EN) (7e92aa4)
  • change getNowInCalendar to default to user timezone rather than utc (03caf6d)
  • change param for useDatePicker from initialDate to date (429b2eb)
  • change react dependency to fix issue with docusaurus build (c58d560)
  • change react to be a peer dependency (fbf106c)
  • change the api for nepali calendar to accept a string (3a51a6f)
  • change useWeekDayLabels to accept a custom format for day names (0369006)
  • default to user timezone or UTC if no timezone passed (e9c34e1)
  • ensure ethiopic dates are in the correct era (34061d9)
  • ensure that direction is either rtl or ltr (4a92e91)
  • fallback to default locale if passed a wrong locale (785a1b9)
  • fix period generation for Nepali (157e6a7)
  • force a publish (feec6c2)
  • force a unpublish for alpha channel (c4bcb20)
  • force npm publish (571584c)
  • force npm publish (f57733e)
  • force npm publish (bacacf2)
  • force npm publish (ac2ab35)
  • force npm publish (8021a97)
  • force npm publish (d22e470)
  • force npm publish (e5cb2ff)
  • force npm publish (39bd827)
  • force npm publish (6f95463)
  • force npm publish (6b7fbf3)
  • force npm publish (2ce77b3)
  • force npm publish (3e43ce4)
  • force publish to @dhis2/multi-calendar-dates (0bc26f1)
  • handle on-the-fly changes to selected calendar (89f0427)
  • make nepali calendar default to en-NP if no valid locale provided (a074789)
  • make sure period calculation works with non-standard dhis2 calendar IDs (7c56b1a)
  • put pack semantic-release config (4ae3f4c)
  • remove .only for tests (72fa7e5)
  • remove .only from test (c685e34)
  • remove test unpublish alpha (f815e31)
  • respect startingDay for weekly period generation (5f1196a)
  • test npm publish (40de24f)
  • test npm publish (69eb402)
  • throw error if non-supported locale is passed for a custom calendar (293db88)
  • update current day selection logic to use same calendar system (adb0dc8)
  • update label for financial year periods (c13a829)
  • update labels for Financial Year period types (f6c9b68)
  • update localisation logic for fixed period generation (668f6d8)
  • update useDatePicker hook to resolve options with hook (ffa509a)
  • update useDatePicker to accept the calendar date rather than the iso one (a65fc3d)
  • update weekly period logic to match analytics tests (2faf567)
  • use numberinSystem if provided (b3e82fb)

Features

  • expose a method to return today date in specific calendar (1213b45)
  • implement first iteration of the engine (51526db)
  • implement nepali calendar (bcb66c6)
  • implement nepali calendar from gregorian conversion (4ee9173)
  • implement period calculation special cases for ethiopic calendar (62b3de3)
  • implement rest of period calculations for gregrorian calendar (9f83099)
  • implement some fixed period calculations for gregrorian calendar (040bd8e)
  • update period generation to add start and end date (9adb0aa)

1.0.0-beta.24 (2023-02-22)

Bug Fixes

  • update localisation logic for fixed period generation (668f6d8)

1.0.0-beta.23 (2023-02-17)

Bug Fixes

  • update useDatePicker hook to resolve options with hook (ffa509a)

1.0.0-beta.22 (2023-02-15)

Bug Fixes

  • change build process to emit cjs and es modules (#10) (1102de8)
  • ensure ethiopic dates are in the correct era (34061d9)
  • handle on-the-fly changes to selected calendar (89f0427)
  • update useDatePicker to accept the calendar date rather than the iso one (a65fc3d)

1.0.0-alpha.18 (2023-02-14)

Bug Fixes

  • change build process to emit cjs and es modules (#10) (1102de8)

1.0.0-alpha.17 (2023-01-30)

Bug Fixes

  • ensure ethiopic dates are in the correct era (34061d9)

1.0.0-alpha.16 (2023-01-24)

Bug Fixes

  • handle on-the-fly changes to selected calendar (89f0427)

1.0.0-alpha.15 (2023-01-11)

Bug Fixes

  • update useDatePicker to accept the calendar date rather than the iso one (a65fc3d)

1.0.0-beta.21 (2023-01-10)

Bug Fixes

  • add eraYear to nepali calendar (c725d96)
  • change getNowInCalendar to default to user timezone rather than utc (03caf6d)
  • fix period generation for Nepali (157e6a7)
  • force a unpublish for alpha channel (c4bcb20)
  • force npm publish (571584c)
  • force npm publish (f57733e)
  • force npm publish (bacacf2)
  • force npm publish (ac2ab35)
  • force npm publish (8021a97)
  • force npm publish (d22e470)
  • force publish to @dhis2/multi-calendar-dates (0bc26f1)
  • make nepali calendar default to en-NP if no valid locale provided (a074789)
  • make sure period calculation works with non-standard dhis2 calendar IDs (7c56b1a)
  • remove test unpublish alpha (f815e31)
  • respect startingDay for weekly period generation (5f1196a)
  • update label for financial year periods (c13a829)
  • update labels for Financial Year period types (f6c9b68)
  • update weekly period logic to match analytics tests (2faf567)

Features

  • expose a method to return today date in specific calendar (1213b45)
  • implement period calculation special cases for ethiopic calendar (62b3de3)
  • implement rest of period calculations for gregrorian calendar (9f83099)
  • implement some fixed period calculations for gregrorian calendar (040bd8e)
  • update period generation to add start and end date (9adb0aa)

1.0.0-alpha.14 (2023-01-10)

Bug Fixes

  • change getNowInCalendar to default to user timezone rather than utc (03caf6d)

1.0.0-alpha.13 (2023-01-09)

Bug Fixes

  • force npm publish (571584c)
  • force publish to @dhis2/multi-calendar-dates (0bc26f1)

1.0.0-alpha.13 (2023-01-09)

Bug Fixes

  • force publish to @dhis2/multi-calendar-dates (0bc26f1)

1.0.0-alpha.12 (2023-01-02)

Bug Fixes

  • update weekly period logic to match analytics tests (2faf567)

Features

  • update period generation to add start and end date (9adb0aa)

1.0.0-alpha.11 (2022-12-29)

Bug Fixes

  • update label for financial year periods (c13a829)

1.0.0-alpha.10 (2022-12-28)

Bug Fixes

  • update labels for Financial Year period types (f6c9b68)

1.0.0-alpha.9 (2022-12-28)

Bug Fixes

  • respect startingDay for weekly period generation (5f1196a)

1.0.0-alpha.8 (2022-12-28)

Bug Fixes

  • make sure period calculation works with non-standard dhis2 calendar IDs (7c56b1a)

1.0.0-alpha.7 (2022-12-28)

Bug Fixes

  • add eraYear to nepali calendar (c725d96)

1.0.0-alpha.6 (2022-12-28)

Bug Fixes

1.0.0-alpha.5 (2022-12-28)

Features

  • expose a method to return today date in specific calendar (1213b45)

1.0.0-alpha.4 (2022-12-27)

Bug Fixes

1.0.0-alpha.3 (2022-12-27)

Bug Fixes

  • make nepali calendar default to en-NP if no valid locale provided (a074789)

1.0.0-alpha.2 (2022-12-27)

Bug Fixes

1.0.0-alpha.1 (2022-12-27)

Bug Fixes

  • change english-nepal code to en-NP (not ne-EN) (7e92aa4)
  • change param for useDatePicker from initialDate to date (429b2eb)
  • change react dependency to fix issue with docusaurus build (c58d560)
  • change react to be a peer dependency (fbf106c)
  • change the api for nepali calendar to accept a string (3a51a6f)
  • change useWeekDayLabels to accept a custom format for day names (0369006)
  • default to user timezone or UTC if no timezone passed (e9c34e1)
  • ensure that direction is either rtl or ltr (4a92e91)
  • fallback to default locale if passed a wrong locale (785a1b9)
  • fix period generation for Nepali (157e6a7)
  • force a publish (feec6c2)
  • force a unpublish for alpha channel (c4bcb20)
  • force npm publish (8021a97)
  • force npm publish (d22e470)
  • force npm publish (e5cb2ff)
  • force npm publish (39bd827)
  • force npm publish (6f95463)
  • force npm publish (6b7fbf3)
  • force npm publish (2ce77b3)
  • force npm publish (3e43ce4)
  • put pack semantic-release config (4ae3f4c)
  • remove .only for tests (72fa7e5)
  • remove .only from test (c685e34)
  • remove test unpublish alpha (f815e31)
  • test npm publish (40de24f)
  • test npm publish (69eb402)
  • throw error if non-supported locale is passed for a custom calendar (293db88)
  • update current day selection logic to use same calendar system (adb0dc8)
  • use numberinSystem if provided (b3e82fb)

Features

  • implement first iteration of the engine (51526db)
  • implement nepali calendar (bcb66c6)
  • implement nepali calendar from gregorian conversion (4ee9173)
  • implement period calculation special cases for ethiopic calendar (62b3de3)
  • implement rest of period calculations for gregrorian calendar (9f83099)
  • implement some fixed period calculations for gregrorian calendar (040bd8e)

1.0.0-alpha.1 (2022-12-27)

Bug Fixes

  • change english-nepal code to en-NP (not ne-EN) (7e92aa4)
  • change param for useDatePicker from initialDate to date (429b2eb)
  • change react dependency to fix issue with docusaurus build (c58d560)
  • change react to be a peer dependency (fbf106c)
  • change the api for nepali calendar to accept a string (3a51a6f)
  • change useWeekDayLabels to accept a custom format for day names (0369006)
  • default to user timezone or UTC if no timezone passed (e9c34e1)
  • ensure that direction is either rtl or ltr (4a92e91)
  • fallback to default locale if passed a wrong locale (785a1b9)
  • fix period generation for Nepali (157e6a7)
  • force a publish (feec6c2)
  • force a unpublish for alpha channel (c4bcb20)
  • force npm publish (8021a97)
  • force npm publish (d22e470)
  • force npm publish (e5cb2ff)
  • force npm publish (39bd827)
  • force npm publish (6f95463)
  • force npm publish (6b7fbf3)
  • force npm publish (2ce77b3)
  • force npm publish (3e43ce4)
  • put pack semantic-release config (4ae3f4c)
  • remove .only for tests (72fa7e5)
  • remove .only from test (c685e34)
  • test npm publish (40de24f)
  • test npm publish (69eb402)
  • throw error if non-supported locale is passed for a custom calendar (293db88)
  • update current day selection logic to use same calendar system (adb0dc8)
  • use numberinSystem if provided (b3e82fb)

Features

  • implement first iteration of the engine (51526db)
  • implement nepali calendar (bcb66c6)
  • implement nepali calendar from gregorian conversion (4ee9173)
  • implement period calculation special cases for ethiopic calendar (62b3de3)
  • implement rest of period calculations for gregrorian calendar (9f83099)
  • implement some fixed period calculations for gregrorian calendar (040bd8e)

1.0.0-alpha.1 (2022-12-26)

Bug Fixes

  • change english-nepal code to en-NP (not ne-EN) (7e92aa4)
  • change param for useDatePicker from initialDate to date (429b2eb)
  • change react dependency to fix issue with docusaurus build (c58d560)
  • change react to be a peer dependency (fbf106c)
  • change the api for nepali calendar to accept a string (3a51a6f)
  • change useWeekDayLabels to accept a custom format for day names (0369006)
  • default to user timezone or UTC if no timezone passed (e9c34e1)
  • ensure that direction is either rtl or ltr (4a92e91)
  • fallback to default locale if passed a wrong locale (785a1b9)
  • fix period generation for Nepali (157e6a7)
  • force a publish (feec6c2)
  • force npm publish (d22e470)
  • force npm publish (e5cb2ff)
  • force npm publish (39bd827)
  • force npm publish (6f95463)
  • force npm publish (6b7fbf3)
  • force npm publish (2ce77b3)
  • force npm publish (3e43ce4)
  • put pack semantic-release config (4ae3f4c)
  • remove .only for tests (72fa7e5)
  • remove .only from test (c685e34)
  • test npm publish (40de24f)
  • test npm publish (69eb402)
  • throw error if non-supported locale is passed for a custom calendar (293db88)
  • update current day selection logic to use same calendar system (adb0dc8)
  • use numberinSystem if provided (b3e82fb)

Features

  • implement first iteration of the engine (51526db)
  • implement nepali calendar (bcb66c6)
  • implement nepali calendar from gregorian conversion (4ee9173)
  • implement period calculation special cases for ethiopic calendar (62b3de3)
  • implement rest of period calculations for gregrorian calendar (9f83099)
  • implement some fixed period calculations for gregrorian calendar (040bd8e)

1.0.0-beta.20 (2022-12-13)

Bug Fixes

1.0.0-beta.19 (2022-12-13)

Bug Fixes

1.0.0-beta.18 (2022-12-13)

Bug Fixes

1.0.0-beta.17 (2022-12-13)

Bug Fixes

1.0.0-beta.16 (2022-12-01)

Bug Fixes

1.0.0-beta.15 (2022-11-30)

Bug Fixes

  • force npm publish (2ce77b3)
  • put pack semantic-release config (4ae3f4c)

1.0.0-beta.14 (2022-11-24)

Bug Fixes

1.0.0-beta.13 (2022-11-23)

Bug Fixes

1.0.0-beta.12 (2022-11-23)

Bug Fixes

1.0.0-beta.11 (2022-11-23)

Bug Fixes

  • use numberinSystem if provided (b3e82fb)

1.0.0-beta.10 (2022-11-23)

Bug Fixes

  • throw error if non-supported locale is passed for a custom calendar (293db88)

1.0.0-beta.9 (2022-11-23)

Bug Fixes

  • default to user timezone or UTC if no timezone passed (e9c34e1)
  • ensure that direction is either rtl or ltr (4a92e91)

1.0.0-beta.8 (2022-11-22)

Bug Fixes

  • change english-nepal code to en-NP (not ne-EN) (7e92aa4)

1.0.0-beta.7 (2022-11-21)

Bug Fixes

1.0.0-beta.6 (2022-11-21)

Bug Fixes

  • change param for useDatePicker from initialDate to date (429b2eb)
  • change the api for nepali calendar to accept a string (3a51a6f)
  • test npm publish (69eb402)

1.0.0-beta.6 (2022-11-21)

Bug Fixes

  • change param for useDatePicker from initialDate to date (429b2eb)
  • change the api for nepali calendar to accept a string (3a51a6f)

1.0.0-beta.5 (2022-11-16)

Bug Fixes

  • change useWeekDayLabels to accept a custom format for day names (0369006)

1.0.0-beta.4 (2022-11-15)

Bug Fixes

  • update current day selection logic to use same calendar system (adb0dc8)

1.0.0-beta.3 (2022-11-14)

Bug Fixes

  • change react dependency to fix issue with docusaurus build (c58d560)

1.0.0-beta.2 (2022-11-14)

Bug Fixes

  • change react to be a peer dependency (fbf106c)

1.0.0-beta.1 (2022-11-10)

Bug Fixes

  • fallback to default locale if passed a wrong locale (785a1b9)

Features

  • implement first iteration of the engine (51526db)
  • implement nepali calendar (bcb66c6)
  • implement nepali calendar from gregorian conversion (4ee9173)