diff options
Diffstat (limited to 'files/fr/web/api/notification/timestamp/index.md')
| -rw-r--r-- | files/fr/web/api/notification/timestamp/index.md | 43 |
1 files changed, 15 insertions, 28 deletions
diff --git a/files/fr/web/api/notification/timestamp/index.md b/files/fr/web/api/notification/timestamp/index.md index 8218d858d6..44d6b4484b 100644 --- a/files/fr/web/api/notification/timestamp/index.md +++ b/files/fr/web/api/notification/timestamp/index.md @@ -12,43 +12,30 @@ tags: - timeStamp translation_of: Web/API/Notification/timestamp --- -<p>{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}}</p> +{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}} -<p>La propriété en lecture seule <strong><code>timestamp</code></strong> de l'interface {{domxref ("Notification")}} renvoie un {{domxref ("DOMTimeStamp")}}, comme définis à l'aide de l'option <code>timestamp</code> lors de la création de la notification à l'aide du constructeur {{domxref ("Notification.Notification", "Notification()")}}.</p> +La propriété en lecture seule **`timestamp`** de l'interface {{domxref ("Notification")}} renvoie un {{domxref ("DOMTimeStamp")}}, comme définis à l'aide de l'option `timestamp` lors de la création de la notification à l'aide du constructeur {{domxref ("Notification.Notification", "Notification()")}}. -<p>L'horodatage de la notification peut représenter le moment, en millisecondes depuis 00:00:00 UTC le 1er janvier 1970, de l'événement pour lequel la notification a été créée, ou il peut s'agir d'un horodatage arbitraire que vous souhaitez associer à la notification. Par exemple, un horodatage pour une réunion à venir pourrait être défini dans le futur, tandis qu'un horodatage pour un message manqué pourrait être défini dans le passé.</p> +L'horodatage de la notification peut représenter le moment, en millisecondes depuis 00:00:00 UTC le 1er janvier 1970, de l'événement pour lequel la notification a été créée, ou il peut s'agir d'un horodatage arbitraire que vous souhaitez associer à la notification. Par exemple, un horodatage pour une réunion à venir pourrait être défini dans le futur, tandis qu'un horodatage pour un message manqué pourrait être défini dans le passé. -<h2 id="Syntax">Syntaxe</h2> +## Syntaxe -<pre class="syntaxbox"><var>Notification</var>.timestamp</pre> + Notification.timestamp -<h3 id="Return_Value">Valeur</h3> +### Valeur -<p>Un {{domxref("DOMTimeStamp")}}.</p> +Un {{domxref("DOMTimeStamp")}}. -<h2 id="Spécifications">Spécifications</h2> +## Spécifications -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaire</th> - </tr> - <tr> - <td>{{SpecName('Web Notifications','#dom-notification-timestamp','timestamp')}}</td> - <td>{{Spec2('Web Notifications')}}</td> - <td>Living standard</td> - </tr> - </tbody> -</table> +| Spécification | État | Commentaire | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------- | --------------- | +| {{SpecName('Web Notifications','#dom-notification-timestamp','timestamp')}} | {{Spec2('Web Notifications')}} | Living standard | -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> +## Compatibilité des navigateurs -<p>{{Compat("api.Notification.timestamp")}}</p> +{{Compat("api.Notification.timestamp")}} -<h2 id="Voir_également">Voir également</h2> +## Voir également -<ul> - <li><a href="/fr/docs/Web/API/Notifications_API/Using_the_Notifications_API">Utilisation de l'API Notifications</a></li> -</ul> +- [Utilisation de l'API Notifications](/fr/docs/Web/API/Notifications_API/Using_the_Notifications_API) |
