{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-autoform-bs-datepicker/issues/21","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform-bs-datepicker/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform-bs-datepicker/issues/21/comments","events_url":"https://api.github.com/repos/aldeed/meteor-autoform-bs-datepicker/issues/21/events","html_url":"https://github.com/aldeed/meteor-autoform-bs-datepicker/issues/21","id":70125021,"number":21,"title":"Which datePickerOptions are implemented?","user":{"login":"juliomac","id":3759295,"avatar_url":"https://avatars.githubusercontent.com/u/3759295?v=3","gravatar_id":"","url":"https://api.github.com/users/juliomac","html_url":"https://github.com/juliomac","followers_url":"https://api.github.com/users/juliomac/followers","following_url":"https://api.github.com/users/juliomac/following{/other_user}","gists_url":"https://api.github.com/users/juliomac/gists{/gist_id}","starred_url":"https://api.github.com/users/juliomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliomac/subscriptions","organizations_url":"https://api.github.com/users/juliomac/orgs","repos_url":"https://api.github.com/users/juliomac/repos","events_url":"https://api.github.com/users/juliomac/events{/privacy}","received_events_url":"https://api.github.com/users/juliomac/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-22T13:24:51Z","updated_at":"2015-08-28T20:27:41Z","closed_at":"2015-08-28T20:27:41Z","body":"I have been trying to localize the DatePicker with no success. I understand this is an implementation of bootstrap-datepicker for Meteor, so it might both have all the features of the former. Maybe it is just a silly mistake, but I tried everything I think of. I have included both rzymek:moment-locale-pt-br and rzymek:moment-locale-ex packages to no avail.\r\n\r\nBelow is my schema. I also tested some other options as shown on https://bootstrap-datepicker.readthedocs.org/en/latest/options.html#clearbtn that did not have any effect either. Am I missing anything? Is there any other package that must be included for them to work or is it just no implemented?\r\n\r\n  initialdate: {\r\n    label: function() {\r\n        return(TAPi18n.__('Check-in'));\r\n      },\r\n    type: Date,\r\n    autoform: {\r\n     afFieldInput: {\r\n        type: \"bootstrap-datepicker\",\r\n        datePickerOptions: {\r\n        \tlanguage: 'es',                                        // No effect\r\n        \tautoclose: true,\r\n     //   \ttodayBtn: true,\t\t\t\t\t\t// No effect\r\n     //\t\tlanguage: 'pt-BR',\t\t\t\t\t// No effect\r\n     //\t\tlocale: 'pt-BR',\t\t\t\t\t        // No effect\r\n     //\t\tlocale: moment.locale('pt-BR'),\t\t// No effect\r\n     //         daysOfWeekHighlighted: [0,6],\t\t// No effect\r\n     //\t\tdayViewHeaderFormat: 'MMMM',\r\n     \t\tformat: 'dd-mm-yyyy',  \r\n     //\t\tviewMode: 'months',\r\n     //\t\ttoolbarPlacement: 'top',\r\n     //\t\tshowTodayButton: true,\r\n     //   \tmaxViewMode: 2, \"years\",\t\t// Crash! How to use with comma???\r\n     \t\tcalendarWeeks: true,\r\n     \t\tclearBtn: true, \r\n        \ttodayHighlight: true,\r\n        \tstartDate: today(),\r\n     \t  \tendDate: \"31-12-2016\"\r\n  \t\t}\r\n      }\r\n    }\r\n  },"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-autoform-bs-datepicker/issues/comments/135880312","html_url":"https://github.com/aldeed/meteor-autoform-bs-datepicker/issues/21#issuecomment-135880312","issue_url":"https://api.github.com/repos/aldeed/meteor-autoform-bs-datepicker/issues/21","id":135880312,"user":{"login":"juliomac","id":3759295,"avatar_url":"https://avatars.githubusercontent.com/u/3759295?v=3","gravatar_id":"","url":"https://api.github.com/users/juliomac","html_url":"https://github.com/juliomac","followers_url":"https://api.github.com/users/juliomac/followers","following_url":"https://api.github.com/users/juliomac/following{/other_user}","gists_url":"https://api.github.com/users/juliomac/gists{/gist_id}","starred_url":"https://api.github.com/users/juliomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliomac/subscriptions","organizations_url":"https://api.github.com/users/juliomac/orgs","repos_url":"https://api.github.com/users/juliomac/repos","events_url":"https://api.github.com/users/juliomac/events{/privacy}","received_events_url":"https://api.github.com/users/juliomac/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T20:27:41Z","updated_at":"2015-08-28T20:27:41Z","body":"Well, I end up changing to https://github.com/rajit/bootstrap3-datepicker/ .\r\n\r\nRajit's excellent support even gave birth to the ```rajit:bootstrap3-datepicker-pt-br``` package to accompany the core one and translate accordingly. It is also available in other languages, "}}