bfg-common 1.3.364 → 1.3.365

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,20 +33,20 @@ export const timespanFunc = (
33
33
 
34
34
  export const customTimeFunc = (
35
35
  localization: UI_I_Localization,
36
- hour: number,
36
+ value: number,
37
37
  lang: string
38
38
  ): UI_I_OptionItem[] => {
39
39
  const isLangRu = lang === 'ru_RU'
40
40
 
41
41
  const hourText = isLangRu
42
- ? getCorrectRuForm(hour, 'hour')
42
+ ? getCorrectRuForm(value, 'hour')
43
43
  : localization.hours2
44
- const dayText = isLangRu ? getCorrectRuForm(hour, 'day') : localization.days2
44
+ const dayText = isLangRu ? getCorrectRuForm(value, 'day') : localization.days2
45
45
  const weekText = isLangRu
46
- ? getCorrectRuForm(hour, 'week')
46
+ ? getCorrectRuForm(value, 'week')
47
47
  : localization.weeks2
48
48
  const monthText = isLangRu
49
- ? getCorrectRuForm(hour, 'month')
49
+ ? getCorrectRuForm(value, 'month')
50
50
  : localization.months2
51
51
 
52
52
  return [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.364",
4
+ "version": "1.3.365",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",