ordering-ui-react-native 0.16.3-release → 0.16.4-release
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
|
@@ -488,8 +488,7 @@ export const DriverMap = (props: GoogleMapsParams) => {
|
|
|
488
488
|
size={13}
|
|
489
489
|
numberOfLines={2}
|
|
490
490
|
adjustsFontSizeToFit>
|
|
491
|
-
{`${travelTime.toFixed(2)} - ${isMin ? t('MINNUTES', 'mins') : t('HOURS', 'hours')
|
|
492
|
-
} ${distancesFromTwoPlacesKm.toFixed(2)} km`}
|
|
491
|
+
{`${travelTime.toFixed(2)} - ${isMin ? t('MINNUTES', 'mins') : t('HOURS', 'hours')}`}
|
|
493
492
|
</OText>
|
|
494
493
|
</View>
|
|
495
494
|
</View>
|
|
@@ -141,7 +141,7 @@ const ServiceFormUI = (props: ServiceFormParams) => {
|
|
|
141
141
|
|
|
142
142
|
const handleSaveService = () => {
|
|
143
143
|
const updated = {
|
|
144
|
-
serviceTime: dateSelected,
|
|
144
|
+
serviceTime: moment(dateSelected).utc().format('YYYY-MM-DD HH:mm:00'),
|
|
145
145
|
professional: currentProfessional
|
|
146
146
|
}
|
|
147
147
|
handleSave && handleSave(updated)
|