# Bug: Date in notebook teasers not showing year

**URL:** <https://talk.observablehq.com/t/bug-date-in-notebook-teasers-not-showing-year/2044>\
**Category:** Feedback\
**Created:** [June 10, 2019, 9:48pm UTC](https://talk.observablehq.com/t/bug-date-in-notebook-teasers-not-showing-year/2044 "2019-06-10T21:48:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [June 10, 2019, 9:48pm UTC](https://talk.observablehq.com/t/bug-date-in-notebook-teasers-not-showing-year/2044/1 "2019-06-10T21:48:02Z")

</div>

A convention for shortened dates is to drop the year if the date lies within the past year.

Observable has been around long enough that there are now many notebooks that are older than a year. The date in notebook teasers still only shows the day and month, making the information rather pointless in all listings except “Recently published”.

 ![ft-obs-year](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/1/16596225810311fae492b5d0c1ad4b657a035c91.gif)

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [June 14, 2019, 10:34am UTC](https://talk.observablehq.com/t/bug-date-in-notebook-teasers-not-showing-year/2044/2 "2019-06-14T10:34:49Z")

</div>

The same problem exists in the revision list of the history view:  
 ![obs-history-ts](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/c/c0cda301bef5ee2ef0857c962359c05b200c45cf.gif)

Additionally, the date shown in the title tooltip is unformatted.

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [July 1, 2019, 10:31pm UTC](https://talk.observablehq.com/t/bug-date-in-notebook-teasers-not-showing-year/2044/3 "2019-07-01T22:31:01Z")

</div>

Bumping, because it’s becoming increasingly annoying in notebook searches.

---

<div class="post-metadata">

**Author:** ![jashkenas](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jashkenas/32/1778_2.png) [@jashkenas](https://talk.observablehq.com/u/jashkenas)\
**Post date:** [July 2, 2019, 8:36pm UTC](https://talk.observablehq.com/t/bug-date-in-notebook-teasers-not-showing-year/2044/4 "2019-07-02T20:36:17Z")

</div>

Thanks for posting about this @mootari. I’ve pushed an update that — across the board — should format dates in listings consistently, restrict relative dates to within a week, and include years in dates that are more than six months ago.

If you notice any other wonkiness in our date formatting, please let us know.

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [July 2, 2019, 8:44pm UTC](https://talk.observablehq.com/t/bug-date-in-notebook-teasers-not-showing-year/2044/5 "2019-07-02T20:44:36Z")

</div>

> [@jashkenas](#):
>
> If you notice any other wonkiness in our date formatting, please let us know.

The title timestamps in the history are still unformatted:

> [@mootari](#):
>
> Additionally, the date shown in the title tooltip is unformatted.

Should those be fixed as well?
