diff --git a/static/js/infoView.indiancinema.js b/static/js/infoView.indiancinema.js index 6b090c8a..8a0d7380 100644 --- a/static/js/infoView.indiancinema.js +++ b/static/js/infoView.indiancinema.js @@ -614,10 +614,10 @@ pandora.ui.infoView = function(data, isMixed) { if (/\d{2}-\d{2}-\d{4}/.test(value)) { value = Ox.reverse(value.split('-')).join('-') } - if (/\d{4}/\d{2}/\d{d}/.test(value)) { + if (/\d{4}i\/\d{2}\/\d{d}/.test(value)) { value = value.split('/').join('-') } - if (/\d{2}/\d{2}/\d{4}/.test(value)) { + if (/\d{2}\/\d{2}\/\d{4}/.test(value)) { value = Ox.reverse(value.split('/')).join('-') } return value