# Empfehlung: cronos verwenden, wenn der Beitrag einen Zeitstempel und eine Zeitzone enthält

**URL:** https://meta.discourse.org/t/suggest-using-cronos-if-post-contains-a-timestamp-and-time-zone/101081
**Category:** Feature
**Created:** [1. November 2018 um 18:28 UTC](https://meta.discourse.org/t/suggest-using-cronos-if-post-contains-a-timestamp-and-time-zone/101081 "2018-11-01T18:28:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [1. November 2018 um 18:28 UTC](https://meta.discourse.org/t/suggest-using-cronos-if-post-contains-a-timestamp-and-time-zone/101081/1 "2018-11-01T18:28:51Z")

</div>

I think it would be cool to have a education banner (the one that cover the right panel) telling that Discourse has support for timezone aware timestamps if the post matches the conditions:

- Matches `[0-9]{1,2}:[0-9]{2}`

- Matches `zone` and `time` (localization problem?)

---

<div class="post-metadata">

### Author: ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)
#### Post date: [2. November 2018 um 07:13 UTC](https://meta.discourse.org/t/suggest-using-cronos-if-post-contains-a-timestamp-and-time-zone/101081/2 "2018-11-02T07:13:47Z")

</div>

It may be cool, but seeing that regex doesn’t _explain_ to me how to use it.  
I suggest you should also add an example or 2.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2. November 2018 um 07:43 UTC](https://meta.discourse.org/t/suggest-using-cronos-if-post-contains-a-timestamp-and-time-zone/101081/3 "2018-11-02T07:43:40Z")

</div>

It won’t validate hours:minutes but it will match valid hours:minutes. i.e.

h:mm and hh:mm

eg. 1:00 23:55

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2. November 2018 um 13:40 UTC](https://meta.discourse.org/t/suggest-using-cronos-if-post-contains-a-timestamp-and-time-zone/101081/4 "2018-11-02T13:40:43Z")

</div>

The regex is just a condition to trigger a education message…
