From 1145fe35249f8ce14d3c0a52544e4a4babdc15a4 Mon Sep 17 00:00:00 2001 From: Aman Mangal Date: Sun, 22 Jan 2017 19:19:16 +0530 Subject: [PATCH] Update timezone to be of float type Reference: https://developers.facebook.com/docs/graph-api/reference/user Fixes #23 --- profile.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/profile.go b/profile.go index f773c4a..002edb7 100644 --- a/profile.go +++ b/profile.go @@ -2,10 +2,10 @@ package messenger // Profile is the public information of a Facebook user type Profile struct { - FirstName string `json:"first_name"` - LastName string `json:"last_name"` - ProfilePicURL string `json:"profile_pic"` - Locale string `json:"locale"` - Timezone int `json:"timezone"` - Gender string `json:"gender"` + FirstName string `json:"first_name"` + LastName string `json:"last_name"` + ProfilePicURL string `json:"profile_pic"` + Locale string `json:"locale"` + Timezone float64 `json:"timezone"` + Gender string `json:"gender"` }