# Bug affichage widget Date et heure sur petit écran

**URL:** <https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335>\
**Category:** Configuration\
**Created:** [Septembre 3, 2023, 11:55 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335 "2023-09-03T11:55:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [Septembre 3, 2023, 11:55 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/1 "2023-09-03T11:55:46Z")

</div>

Sur ma tablette (résolution 1024 x 768 pixels) j’ai un petit problème d’affichage. L’horloge sort du Widget

![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/3ec58b44f417aec3ef2a6a0c8b2925c52158d427.jpeg)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 4, 2023, 8:51 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/2 "2023-09-04T08:51:13Z")

</div>

Merci du retour, j’ai créé une issue Github:

> <https://github.com/GladysAssistant/Gladys/issues/1868>
>
> !\[3ec58b44f417aec3ef2a6a0c8b2925c52158d427\](https://github.com/GladysAssistant/G…ladys/assets/7365207/5bdfdcbc-538f-4a16-a78e-be2431fc5536)
> 
> https://community.gladysassistant.com/t/affichage-widget-date-et-heure/8335

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 4, 2023, 1:51 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/3 "2023-09-04T13:51:59Z")

</div>

J’ai une proposition de correctif, qui ressemblerait à ça:

[https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/3f8d39cc353e913aaee31dd5eb5ecbf73ec844da.mp4](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/3f8d39cc353e913aaee31dd5eb5ecbf73ec844da.mp4)

La PR peut-être testée sur un build Gladys Plus ici :

[https://fix-clock-size-on-small-scre.gladys-plus.pages.dev](https://fix-clock-size-on-small-scre.gladys-plus.pages.dev/)

La PR :

> <https://github.com/GladysAssistant/Gladys/pull/1871>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to \[the community\](https://community.gladysassistant.com/) for testing before merging.
> 
> \### Description of change
> 
> https://github.com/GladysAssistant/Gladys/assets/7365207/57ca3e56-6e8a-491c-9123-83c500f2bd6b

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [Septembre 4, 2023, 1:58 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/4 "2023-09-04T13:58:38Z")

</div>

J’essaierai ce soir sur ma tablette.  
As tu essayé avec la date en français ?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 4, 2023, 2:06 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/5 "2023-09-04T14:06:26Z")

</div>

Bien vu, je viens de tester et c’était ok mais pas fou. J’ai amélioré encore un peu du coup 🙂

Après, on a ce bug maintenant car Septembre est le mois avec le nom le plus long de l’année en français!

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [Septembre 4, 2023, 2:11 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/6 "2023-09-04T14:11:19Z")

</div>

Je te tiens au courant ce soir.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [Septembre 4, 2023, 7:16 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/7 "2023-09-04T19:16:07Z")

</div>

C’est bon pour moi 👏

**AVANT:**  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/a/a33250c68e6d544c6f2534aaec5b2f6a4cd539f7.jpeg)

**APRES:**  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/670f75b173ea3cc712872f93d0f5657f0a70bd01.png)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 5, 2023, 6:52 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/8 "2023-09-05T06:52:57Z")

</div>

Cool ! Et sur d’autre résolutions c’est aussi agréable ? 🙂

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [Septembre 5, 2023, 7:01 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/9 "2023-09-05T07:01:14Z")

</div>

Pour les différentes résolution d’écran que j’ai chez moi oui

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 8, 2023, 9:03 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/10 "2023-09-08T09:03:28Z")

</div>

Merci pour ton retour, c’est mergé et ça partira en production dans la prochaine version de Gladys 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 11, 2023, 5:57 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/11 "2023-09-11T17:57:16Z")

</div>

Correctif disponible dans Gladys Assistant 4.28 :

> [@Gladys Assistant 4.28 : Expiration des états de capteurs, nouveaux appareils Zigbee, et plus!](https://community.gladysassistant.com/t/gladys-assistant-4-28-expiration-des-etats-de-capteurs-nouveaux-appareils-zigbee-et-plus/8352):
>
> Salut à tous ! C’est lundi, c’est l’heure d’une nouvelle release Gladys smile Et il y a plein de nouveautés dans Gladys Assistant 4.28 !! Expiration des états de capteurs Désormais, les «&nbsp;vieux&nbsp;» états de capteurs ne seront plus affichés sur le tableau de bord, et seront remplacé par une indication que l’état n’est plus à jour : Pratique pour trouver les capteurs qui n’envoient plus de valeurs ! La délai par défaut est de 48 heures et peut-être modif…

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 11, 2023, 5:57 UTC](https://community.gladysassistant.com/t/bug-affichage-widget-date-et-heure-sur-petit-ecran/8335/12 "2023-09-11T17:57:19Z")

</div>


