{"action":"created","issue":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7642","repository_url":"https://api.github.com/repos/wet-boew/wet-boew","labels_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7642/labels{/name}","comments_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7642/comments","events_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7642/events","html_url":"https://github.com/wet-boew/wet-boew/issues/7642","id":172477160,"number":7642,"title":"Table Plugin Using Comma as Decimal for Ordering","user":{"login":"iMiiTH","id":629266,"avatar_url":"https://avatars.githubusercontent.com/u/629266?v=3","gravatar_id":"","url":"https://api.github.com/users/iMiiTH","html_url":"https://github.com/iMiiTH","followers_url":"https://api.github.com/users/iMiiTH/followers","following_url":"https://api.github.com/users/iMiiTH/following{/other_user}","gists_url":"https://api.github.com/users/iMiiTH/gists{/gist_id}","starred_url":"https://api.github.com/users/iMiiTH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iMiiTH/subscriptions","organizations_url":"https://api.github.com/users/iMiiTH/orgs","repos_url":"https://api.github.com/users/iMiiTH/repos","events_url":"https://api.github.com/users/iMiiTH/events{/privacy}","received_events_url":"https://api.github.com/users/iMiiTH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T15:07:49Z","updated_at":"2016-08-22T17:20:51Z","closed_at":null,"body":"On french pages that I'm working on, commas are used for the decmial separator instead of periods for numerical values. \r\n\r\nTrying to set the [language option](https://datatables.net/reference/option/language.decimal) for the table plugin doesn't seem to work.\r\n\r\nI've attached a couple screenshots below, the first showing the correct order when using periods for decmials, and the second incorrect ordering when using commas.\r\n\r\nI'm using v4.0.16.\r\n\r\n![english](https://cloud.githubusercontent.com/assets/629266/17859619/49a3d206-6858-11e6-9532-7e8d90ae6fc9.PNG)\r\n\r\n![french](https://cloud.githubusercontent.com/assets/629266/17859623/4d4c8e48-6858-11e6-80ff-93f3f810e4bf.PNG)\r\n\r\n\r\nBelow is the test code used in the screenshots.\r\n\r\nEnglish:\r\n```\r\n<div class=\"table-responsive\">\r\n  <table class=\"table wb-tables\">\r\n    <thead>\r\n    <th>Column 1</th>\r\n    <th>Column 2</th>\r\n    </thead>\r\n    <tbody>\r\n      <tr>\r\n        <td>Test1</td>\r\n        <td>0.21</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test2</td>\r\n        <td>10.21</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test3</td>\r\n        <td>1.21</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test4</td>\r\n        <td>0.021</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test5</td>\r\n        <td>0.001</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test6</td>\r\n        <td>0.101</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test7</td>\r\n        <td>1.09</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test8</td>\r\n        <td>0.110</td>\r\n      </tr>\r\n    </tbody>\r\n  </table>\r\n</div>\r\n```\r\n\r\nFrench:\r\n```\r\n<div class=\"table-responsive\">\r\n  <table class=\"table wb-tables\" data-wb-tables='{ \"language\": { \"decimal\": \",\", \"thousands\": \".\" } }'>\r\n    <thead>\r\n    <th>Column 1</th>\r\n    <th>Column 2</th>\r\n    </thead>\r\n    <tbody>\r\n      <tr>\r\n        <td>Test1</td>\r\n        <td>0,21</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test2</td>\r\n        <td>10,21</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test3</td>\r\n        <td>1,21</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test4</td>\r\n        <td>0,021</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test5</td>\r\n        <td>0,001</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test6</td>\r\n        <td>0,101</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test7</td>\r\n        <td>1,09</td>\r\n      </tr>\r\n      <tr>\r\n        <td>Test8</td>\r\n        <td>0,110</td>\r\n      </tr>\r\n    </tbody>\r\n  </table>\r\n</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/comments/241484731","html_url":"https://github.com/wet-boew/wet-boew/issues/7642#issuecomment-241484731","issue_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7642","id":241484731,"user":{"login":"iMiiTH","id":629266,"avatar_url":"https://avatars.githubusercontent.com/u/629266?v=3","gravatar_id":"","url":"https://api.github.com/users/iMiiTH","html_url":"https://github.com/iMiiTH","followers_url":"https://api.github.com/users/iMiiTH/followers","following_url":"https://api.github.com/users/iMiiTH/following{/other_user}","gists_url":"https://api.github.com/users/iMiiTH/gists{/gist_id}","starred_url":"https://api.github.com/users/iMiiTH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iMiiTH/subscriptions","organizations_url":"https://api.github.com/users/iMiiTH/orgs","repos_url":"https://api.github.com/users/iMiiTH/repos","events_url":"https://api.github.com/users/iMiiTH/events{/privacy}","received_events_url":"https://api.github.com/users/iMiiTH/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T17:20:51Z","updated_at":"2016-08-22T17:20:51Z","body":"Oh you're right, I didn't even realize that the period decmial case was wrong as well."}}
{"actor":{"display_login":"iMiiTH"}}