{"action":"created","issue":{"url":"https://api.github.com/repos/fnando/i18n-js/issues/290","labels_url":"https://api.github.com/repos/fnando/i18n-js/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/fnando/i18n-js/issues/290/comments","events_url":"https://api.github.com/repos/fnando/i18n-js/issues/290/events","html_url":"https://github.com/fnando/i18n-js/pull/290","id":53457051,"number":290,"title":"Allow forcing currency number sign to be at first place","user":{"login":"dziemian007","id":1257520,"avatar_url":"https://avatars.githubusercontent.com/u/1257520?v=3","gravatar_id":"","url":"https://api.github.com/users/dziemian007","html_url":"https://github.com/dziemian007","followers_url":"https://api.github.com/users/dziemian007/followers","following_url":"https://api.github.com/users/dziemian007/following{/other_user}","gists_url":"https://api.github.com/users/dziemian007/gists{/gist_id}","starred_url":"https://api.github.com/users/dziemian007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dziemian007/subscriptions","organizations_url":"https://api.github.com/users/dziemian007/orgs","repos_url":"https://api.github.com/users/dziemian007/repos","events_url":"https://api.github.com/users/dziemian007/events{/privacy}","received_events_url":"https://api.github.com/users/dziemian007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-05T22:36:22Z","updated_at":"2015-01-06T01:25:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fnando/i18n-js/pulls/290","html_url":"https://github.com/fnando/i18n-js/pull/290","diff_url":"https://github.com/fnando/i18n-js/pull/290.diff","patch_url":"https://github.com/fnando/i18n-js/pull/290.patch"},"body":"As description says, f.ex when doing ``I18n.toCurrency(-1000)`` we get ``$-1,000.00`` in result. This issue was raised already there[https://github.com/fnando/i18n-js/issues/286]. Also ruby I18n does it as we would expect, rather than as it's implemented in i18n-js now:\r\n```\r\nnumber_to_currency(-9800.56, format: '%u%n')\r\n-€9.800,56 \r\n```\r\nI've changed '-' sign to be at first place by default in this PR, which also can be configured using ``sign_first`` in options. What do you think guys?"},"comment":{"url":"https://api.github.com/repos/fnando/i18n-js/issues/comments/68812682","html_url":"https://github.com/fnando/i18n-js/pull/290#issuecomment-68812682","issue_url":"https://api.github.com/repos/fnando/i18n-js/issues/290","id":68812682,"user":{"login":"PikachuEXE","id":1018543,"avatar_url":"https://avatars.githubusercontent.com/u/1018543?v=3","gravatar_id":"","url":"https://api.github.com/users/PikachuEXE","html_url":"https://github.com/PikachuEXE","followers_url":"https://api.github.com/users/PikachuEXE/followers","following_url":"https://api.github.com/users/PikachuEXE/following{/other_user}","gists_url":"https://api.github.com/users/PikachuEXE/gists{/gist_id}","starred_url":"https://api.github.com/users/PikachuEXE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PikachuEXE/subscriptions","organizations_url":"https://api.github.com/users/PikachuEXE/orgs","repos_url":"https://api.github.com/users/PikachuEXE/repos","events_url":"https://api.github.com/users/PikachuEXE/events{/privacy}","received_events_url":"https://api.github.com/users/PikachuEXE/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T01:25:58Z","updated_at":"2015-01-06T01:25:58Z","body":"Please ping me again if you have made the change, new commits won't notify me :("}}