This commit is contained in:
parent
23be633798
commit
5a5e49cc20
@ -17,6 +17,7 @@ steps:
|
|||||||
- echo "---------------------------------------------------------"
|
- echo "---------------------------------------------------------"
|
||||||
- ./gradlew koverMergedXmlReport
|
- ./gradlew koverMergedXmlReport
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Paris
|
||||||
SONAR_HOST_URL:
|
SONAR_HOST_URL:
|
||||||
from_secret: sonarScannerHostUrl
|
from_secret: sonarScannerHostUrl
|
||||||
SONAR_LOGIN:
|
SONAR_LOGIN:
|
||||||
@ -50,6 +51,7 @@ steps:
|
|||||||
- git remote add pushing https://$GITEA_USR:$GITEA_PASS@gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform.git
|
- git remote add pushing https://$GITEA_USR:$GITEA_PASS@gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform.git
|
||||||
- git push pushing --tags
|
- git push pushing --tags
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Paris
|
||||||
GITEA_USR:
|
GITEA_USR:
|
||||||
from_secret: giteaUsr
|
from_secret: giteaUsr
|
||||||
GITEA_PASS:
|
GITEA_PASS:
|
||||||
@ -117,6 +119,7 @@ steps:
|
|||||||
- echo "Verify"
|
- echo "Verify"
|
||||||
- $ANDROID_HOME/build-tools/31.0.0/apksigner verify signed.apk
|
- $ANDROID_HOME/build-tools/31.0.0/apksigner verify signed.apk
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Paris
|
||||||
YOUR_KEYSTORE_PASSWORD:
|
YOUR_KEYSTORE_PASSWORD:
|
||||||
from_secret: keyPass
|
from_secret: keyPass
|
||||||
YOUR_KEY_ALIAS:
|
YOUR_KEY_ALIAS:
|
||||||
|
@ -16,7 +16,9 @@ class DatesTest {
|
|||||||
@Test
|
@Test
|
||||||
fun v3_date_should_be_parsed() {
|
fun v3_date_should_be_parsed() {
|
||||||
val date = DateUtils.parseDate(v3Date)
|
val date = DateUtils.parseDate(v3Date)
|
||||||
val expected = LocalDateTime(2013, 4, 7, 13, 43, 0, 0).toInstant(TimeZone.of("UTC+1")) .toEpochMilliseconds()
|
val expected =
|
||||||
|
LocalDateTime(2013, 4, 7, 14, 43, 0, 0).toInstant(TimeZone.currentSystemDefault())
|
||||||
|
.toEpochMilliseconds()
|
||||||
|
|
||||||
assertEquals(date, expected)
|
assertEquals(date, expected)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user