ordering-ui-react-native 0.22.29 → 0.22.30

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.22.29",
3
+ "version": "0.22.30",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -121,7 +121,7 @@ export const OrderItem = React.memo((props: any) => {
121
121
  let restHours: string | number = Math.floor(restMinOfTargetedMin / 60)
122
122
  let restMins: string | number = restMinOfTargetedMin - 60 * restHours
123
123
  // make standard time format
124
- day = day === 0 ? '' : day + 'day '
124
+ day = day === 0 ? '' : `${day + ' ' + t('DAY', 'day') + ' '}`
125
125
  restHours = restHours < 10 ? '0' + restHours : restHours
126
126
  restMins = restMins < 10 ? '0' + restMins : restMins
127
127