CovidTrackerFr / vitemadose-ios

Application iOS de l'outil ViteMaDose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time with `mapharma.fr` is not correct

nathanfallet opened this issue · comments

Time is not correct when a center is from mapharma.

Example:
image

    {
      "departement": "49",
      "nom": "Pharmacie Des Halles",
      "url": "https://mapharma.net/49100-7?c=237&l=0",
      "location": {
        "longitude": -0.554808,
        "latitude": 47.47116,
        "city": "ANGERS"
      },
      "metadata": {
        "address": "78 RUE BAUDRIERE, 49100 ANGERS",
        "business_hours": null
      },
      "prochain_rdv": "2021-05-10T10:30:00",
      "plateforme": "Mapharma",
      "type": "drugstore",
      "appointment_count": 19,
      "internal_id": "mapharma2d373f633d323337266c3d3",
      "vaccine_type": [
        "AstraZeneca"
      ],
      "appointment_by_phone_only": false,
      "erreur": null,
      "last_scan_with_availabilities": "2021-05-08T17:17:29.605276+02:00",
      "appointment_schedules": {
        "1_days": 0,
        "2_days": 0,
        "7_days": 19,
        "28_days": 19,
        "49_days": 19
      },
      "gid": "2d373f633d323337266c3d3"
    }

Other source example:

    {
      "departement": "49",
      "nom": "Centre de vaccination Covid-19 - Ville de Saumur",
      "url": "https://www.doctolib.fr/centre-de-sante/saumur/centre-de-vaccination-covid-19-ville-de-saumur",
      "location": {
        "longitude": -0.094039,
        "latitude": 47.267295,
        "city": "Saumur"
      },
      "metadata": {
        "address": "Avenue du Breil, 49400 Saumur",
        "phone_number": "+33241831288",
        "business_hours": {
          "lundi": "08:30-12:00, 13:30-17:00",
          "mardi": "08:30-12:00, 13:30-17:00",
          "mercredi": "08:30-12:00, 13:30-17:00",
          "jeudi": "08:30-12:00, 13:30-17:00",
          "vendredi": "08:30-12:00, 13:30-17:00",
          "samedi": null,
          "dimanche": null
        }
      },
      "prochain_rdv": "2021-05-11T10:10:00.000+02:00",
      "plateforme": "Doctolib",
      "type": "vaccination-center",
      "appointment_count": 1129,
      "internal_id": "doctolib242320",
      "vaccine_type": [
        "Pfizer-BioNTech",
        "Moderna"
      ],
      "appointment_by_phone_only": false,
      "erreur": null,
      "last_scan_with_availabilities": "2021-05-08T17:17:29.613270+02:00",
      "appointment_schedules": {
        "7_days": 33,
        "28_days": 658,
        "49_days": 1129,
        "1_days": 0,
        "2_days": 0
      },
      "gid": "d242320"
    }