{"action":"opened","issue":{"url":"https://api.github.com/repos/Humanizr/Humanizer/issues/690","repository_url":"https://api.github.com/repos/Humanizr/Humanizer","labels_url":"https://api.github.com/repos/Humanizr/Humanizer/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/Humanizr/Humanizer/issues/690/comments","events_url":"https://api.github.com/repos/Humanizr/Humanizer/issues/690/events","html_url":"https://github.com/Humanizr/Humanizer/issues/690","id":300276507,"number":690,"title":"ArgumentException with locale sk_SK when only Humanizr.Core is installed","user":{"login":"nmilcoff","id":12127846,"avatar_url":"https://avatars2.githubusercontent.com/u/12127846?v=4","gravatar_id":"","url":"https://api.github.com/users/nmilcoff","html_url":"https://github.com/nmilcoff","followers_url":"https://api.github.com/users/nmilcoff/followers","following_url":"https://api.github.com/users/nmilcoff/following{/other_user}","gists_url":"https://api.github.com/users/nmilcoff/gists{/gist_id}","starred_url":"https://api.github.com/users/nmilcoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmilcoff/subscriptions","organizations_url":"https://api.github.com/users/nmilcoff/orgs","repos_url":"https://api.github.com/users/nmilcoff/repos","events_url":"https://api.github.com/users/nmilcoff/events{/privacy}","received_events_url":"https://api.github.com/users/nmilcoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T15:15:11Z","updated_at":"2018-02-26T15:15:11Z","closed_at":null,"author_association":"NONE","body":"Related to #647.\r\n\r\nI'm hitting the issue on a Xamarin.iOS / Xamarin.Android app that only has the `Humanizer.Core` package installed.  It is crashing for a user whose locale is sk_SK.\r\n\r\nException: `ArgumentException: The resource object with key 'DateHumanize_MultipleHoursAgo' was not found`.\r\n\r\nStacktrace: \r\n\r\n```c#\r\nHumanizer.Localisation.Formatters.DefaultFormatter.Format(System.String resourceKey, System.Int32 number) in <3d8682191b624514bac93fecdf828edb#d241c975ca0c55d1909ef6d5e5b9b762>:0\r\nHumanizer.Localisation.Formatters.DefaultFormatter.DateHumanize(Humanizer.Localisation.TimeUnit timeUnit, Humanizer.Localisation.Tense timeUnitTense, System.Int32 unit) in <3d8682191b624514bac93fecdf828edb#d241c975ca0c55d1909ef6d5e5b9b762>:0\r\nHumanizer.DateTimeHumanizeStrategy.DateTimeHumanizeAlgorithms.DefaultHumanize(System.DateTime input, System.DateTime comparisonBase, System.Globalization.CultureInfo culture) in <3d8682191b624514bac93fecdf828edb#d241c975ca0c55d1909ef6d5e5b9b762>:0\r\nHumanizer.DateTimeHumanizeStrategy.DefaultDateTimeHumanizeStrategy.Humanize(System.DateTime input, System.DateTime comparisonBase, System.Globalization.CultureInfo culture) in <3d8682191b624514bac93fecdf828edb#d241c975ca0c55d1909ef6d5e5b9b762>:0\r\nHumanizer.DateHumanizeExtensions.Humanize(System.DateTime input, System.Boolean utcDate, System.Nullable`1[T] dateToCompareAgainst, System.Globalization.CultureInfo culture) in <3d8682191b624514bac93fecdf828edb#d241c975ca0c55d1909ef6d5e5b9b762>:0\r\n```\r\n\r\nSo it seems I can also confirm adding the `Humanizer` package solves the issue."}}
{"actor":{"display_login":"nmilcoff"}}