# Unable to select/enter pin topic date in IE 11

**URL:** https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128
**Category:** Bug
**Created:** [05.Февраль.2016 23:37:38 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128 "2016-02-05T23:37:38Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tomspilman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomspilman/32/104324_2.png) [@tomspilman](https://meta.discourse.org/u/tomspilman)
#### Post date: [05.Февраль.2016 23:37:38 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/1 "2016-02-05T23:37:38Z")

</div>

So I go to pin a topic and it seems now a date is required to pin any topic. I’ve tried a bunch of different date formats and so far I’ve not been able to work out what it needs from me. It continuously tells me “A date is required to pin this topic.” regardless of what I enter in that box.

Am I missing something obvious? Do I maybe have something misconfigured?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [05.Февраль.2016 23:40:08 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/2 "2016-02-05T23:40:08Z")

</div>

Are you talking about this modal?

 ![](https://global.discourse-cdn.com/meta/original/3X/a/e/ae2be1c6f87f81308aab0cbca2cf1fdf78289caf.png)  
If you click one of the time boxes, a small calendar should appear. Does it not?

---

<div class="post-metadata">

### Author: ![tomspilman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomspilman/32/104324_2.png) [@tomspilman](https://meta.discourse.org/u/tomspilman)
#### Post date: [05.Февраль.2016 23:45:39 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/3 "2016-02-05T23:45:39Z")

</div>

> [@jomaxro](#):
>
> If you click one of the time boxes, a small calendar should appear. Does it not?

It does not… in fact I get a text edit cursor like I was hovering over a text box when I hover over the time icons.

I’m running IE 11 in this case.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [05.Февраль.2016 23:47:14 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/4 "2016-02-05T23:47:14Z")

</div>

I can reproduce this on Stonehearth in IE11. Seems to be browser specific, Chrome works fine, so does Firefox.

---

<div class="post-metadata">

### Author: ![tomspilman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomspilman/32/104324_2.png) [@tomspilman](https://meta.discourse.org/u/tomspilman)
#### Post date: [05.Февраль.2016 23:47:46 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/5 "2016-02-05T23:47:46Z")

</div>

I just ran it in Chrome and see how it should be working. It does look like this is broken in IE 11.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [05.Февраль.2016 23:48:54 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/6 "2016-02-05T23:48:54Z")

</div>

Just for others who may stumble on this. The date format is `yyyy-mm-dd`

---

<div class="post-metadata">

### Author: ![tomspilman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomspilman/32/104324_2.png) [@tomspilman](https://meta.discourse.org/u/tomspilman)
#### Post date: [05.Февраль.2016 23:51:02 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/7 "2016-02-05T23:51:02Z")

</div>

> [@cpradio](#):
>
> The date format is yyyy-mm-dd

It doesn’t seem to accept it being typed in IE 11, but it does work in Chrome.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [05.Февраль.2016 23:52:13 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/8 "2016-02-05T23:52:13Z")

</div>

Okay, I’ve updated the topic title to reflect that. I unfortunately do not have the ability to run IE 11.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [06.Февраль.2016 00:22:54 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/9 "2016-02-06T00:22:54Z")

</div>

> [@tomspilman](#):
>
> I’m running IE 11 in this case.

Out of curiosity, does it work in Edge?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [06.Февраль.2016 00:28:55 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/10 "2016-02-06T00:28:55Z")

</div>

> [@codinghorror](#):
>
> Out of curiosity, does it work in Edge?

All good in Edge here…

---

<div class="post-metadata">

### Author: ![JBabichJapan](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@JBabichJapan](https://meta.discourse.org/u/JBabichJapan)
#### Post date: [22.Февраль.2016 04:50:15 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/11 "2016-02-22T04:50:15Z")

</div>

Just reporting a bug I hit today but on [twittercommunity.com](http://twittercommunity.com) I was not able to get the calendar entry for Pin Topic to work at all with fully up to date Google Chrome on Mac OS X. Actually it wasn’t working even if I tried a bunch of date formats (including like 2016-03-02) so I ended up having to fire up Firefox.

Thanks,

John

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [22.Февраль.2016 05:04:39 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/12 "2016-02-22T05:04:39Z")

</div>

@zogstrip can you have a look at this?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [22.Февраль.2016 09:25:24 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/13 "2016-02-22T09:25:24Z")

</div>

Weird, I just tried and it worked. Can you tell me more about what you did?

---

<div class="post-metadata">

### Author: ![JBabichJapan](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@JBabichJapan](https://meta.discourse.org/u/JBabichJapan)
#### Post date: [23.Февраль.2016 04:51:14 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/14 "2016-02-23T04:51:14Z")

</div>

Ok I was just trying to pin a topic I had made to [Advertiser Tools and APIs - X Developers](https://twittercommunity.com/c/advertiser-api) and it wasn’t showing calendar upon clicking within the box and wasn’t accepting any date I entered.

I technically have a gazillion tabs open and haven’t rebooted in a while so might be worth me completely closing out Chrome and seeing if it still repros.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [31.Март.2016 08:53:18 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/15 "2016-03-31T08:53:18Z")

</div>

Is this still happening anywhere?

cc @jomaxro

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [31.Март.2016 11:47:58 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/16 "2016-03-31T11:47:58Z")

</div>

Yes, still happens for IE 11 on my sandbox (which was updated yesterday). I don’t get the calendar pop-up to select a date for the pin topic and pin topic globally.

No idea if this helps any (or if it is related)

 ![](https://global.discourse-cdn.com/meta/original/3X/f/f/ff89025d1f3be2b226bd56ce4d715e966c8c8578.png)

**Edit:** I think that console message is related as it only appears when opening the Pin Topic Modal.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [31.Март.2016 18:53:08 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/17 "2016-03-31T18:53:08Z")

</div>

OK, looks like it is this line

```plaintext
this._picker = new Pikaday(Object.assign(default_opts, this._opts())); 

```

Object.assign is not supported on IE11, should be very simple to fix.

```plaintext
> Object.assign({a: 1, b: 1}, {a:2})
< Object {a: 2, b: 1}
> _.merge({a: 1, b:1}, {a:2})
< Object {a: 2, b: 1}

```

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [31.Март.2016 18:57:36 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/18 "2016-03-31T18:57:36Z")

</div>

Does this fix it?

[https://github.com/discourse/discourse/commit/bd1ca35f8b91f94de74c827a1656bdfad3fbf015](https://github.com/discourse/discourse/commit/bd1ca35f8b91f94de74c827a1656bdfad3fbf015)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [31.Март.2016 19:14:38 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/19 "2016-03-31T19:14:38Z")

</div>

Yay!

 ![](https://global.discourse-cdn.com/meta/original/3X/d/e/dee8eed578be6ac4127f1c21d1c030078c78d058.png)

And pinning works, selecting a date and choosing to Pin Topic works in IE 11, I did test it end to end 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [31.Март.2016 21:08:05 UTC](https://meta.discourse.org/t/unable-to-select-enter-pin-topic-date-in-ie-11/39128/20 "2016-03-31T21:08:05Z")

</div>


