Upgrading js-joda

This commit is contained in:
chalkedgoose
2022-07-29 08:57:19 +00:00
committed by Sofiya Tepikin
parent 0230da4c2e
commit f654ef60ef
12 changed files with 24 additions and 19 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import {
} from './helpers/home'
import { Colors, Fonts, Sizes, Spacing } from '../styles'
import { LocalDate } from 'js-joda'
import { LocalDate } from '@js-joda/core'
import { useTranslation } from 'react-i18next'
const Home = ({ navigate, setDate }) => {
+2 -2
View File
@@ -1,4 +1,4 @@
import { LocalDate } from 'js-joda'
import { LocalDate } from '@js-joda/core'
import { verticalScale } from 'react-native-size-matters'
import { Colors, Fonts, Sizes } from '../../styles'
@@ -65,7 +65,7 @@ const styles = {
calendarToday: {
fontFamily: 'Jost-Bold',
fontWeight: 'bold',
color: Colors.purple
color: Colors.purple,
},
}
+1 -1
View File
@@ -1,4 +1,4 @@
import { LocalDate } from 'js-joda'
import { LocalDate } from '@js-joda/core'
import { scaleObservable, unitObservable } from '../../local-storage'
import { getCycleStatusForDay } from '../../lib/sympto-adapter'
+1 -1
View File
@@ -1,4 +1,4 @@
import { ChronoUnit, LocalDate, LocalTime } from 'js-joda'
import { ChronoUnit, LocalDate, LocalTime } from '@js-joda/core'
import {
getPreviousTemperatureForDate,
+1 -1
View File
@@ -1,4 +1,4 @@
import { LocalDate } from 'js-joda'
import { LocalDate } from '@js-joda/core'
import moment from 'moment'
import { general as labels } from '../../i18n/en/cycle-day'
+1 -1
View File
@@ -1,4 +1,4 @@
import { ChronoUnit, LocalDate } from 'js-joda'
import { ChronoUnit, LocalDate } from '@js-joda/core'
import { formatDateForShortText } from './format-date'