Opened 8 years ago

Closed 7 years ago

#8266 closed bug (wontfix)

Google Translate breaks datepicker

Reported by: eirc Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.19
Keywords: Cc:
Blocked by: Blocking:

Description

Using Google translate on a page breaks the datepicker which fills the fields with a value of "NaN/NaN/NaN".

A workaround is to add a notranslate class to the datepicker which prevents Google Translate from breaking it. However I guess that a better solution would be to allow it to translate but not break :)

See http://jsfiddle.net/eirc/tkRaQ/

I also don't know if any other widgets are affected by this.

Change History (2)

comment:2 Changed 7 years ago by Scott González

Resolution: wontfix
Status: newclosed

Google Translate doesn't follow any standards. I don't think we should be adding 3rd party classes to our widgets. If Google Translate ever supports a standard like @translate, then we can consider this. Out of curiosity, do you know what is getting translated that is killing the datepicker?

Note: See TracTickets for help on using tickets.