Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google api 谷歌生日日历错误年份_Google Api_Google Contacts Api_Google Calendar Api_Google People - Fatal编程技术网

Google api 谷歌生日日历错误年份

Google api 谷歌生日日历错误年份,google-api,google-contacts-api,google-calendar-api,google-people,Google Api,Google Contacts Api,Google Calendar Api,Google People,当我收到谷歌生日日历时,我遇到了问题。我在谷歌的生日日历上搞错了年份 例: 在我的谷歌联系人中,我有一个联系人姓名——迪帕克,他的生日是1990年4月19日。所以这个联系人的生日会显示在谷歌的生日日历上。当我获取谷歌生日日历时,我得到的日期是2017-04-192018-04-192019-04-19。我如何从谷歌生日日历中获得与年份的确切生日联系 谷歌日历API的回应 [0] => Array ( [kind] => calendar#event

当我收到谷歌生日日历时,我遇到了问题。我在谷歌的生日日历上搞错了年份

例: 在我的谷歌联系人中,我有一个联系人姓名——迪帕克,他的生日是1990年4月19日。所以这个联系人的生日会显示在谷歌的生日日历上。当我获取谷歌生日日历时,我得到的日期是2017-04-192018-04-192019-04-19。我如何从谷歌生日日历中获得与年份的确切生日联系

谷歌日历API的回应

[0] => Array
    (
        [kind] => calendar#event
        [etag] => "3060534890000000"
        [id] => 2017_BIRTHDAY_4a7a6b868dd53910
        [status] => confirmed
        [htmlLink] => https://www.google.com/calendar/event?eid=MjAxN19CSVJUSERBWV80YTdhNmI4NjhkZDUzOTEwICNjb250YWN0c0B2
        [created] => 2018-06-29T10:17:25.000Z
        [updated] => 2018-06-29T10:17:25.000Z
        [summary] => Deepak's birthday
        [description] => This is Deepak's birthday!
        [creator] => Array
            (
                [email] => #contacts@group.v.calendar.google.com
                [displayName] => Contacts
                [self] => 1
            )

        [organizer] => Array
            (
                [email] => #contacts@group.v.calendar.google.com
                [displayName] => Contacts
                [self] => 1
            )

        [start] => Array
            (
                [date] => 2017-06-30
            )

        [end] => Array
            (
                [date] => 2017-07-01
            )

        [visibility] => public
        [iCalUID] => 2017_BIRTHDAY_4a7a6b868dd53910@google.com
        [sequence] => 0
        [gadget] => Array
            (
                [iconLink] => https://calendar.google.com/googlecalendar/images/cake.gif
                [preferences] => Array
                    (
                        [goo.contactsGivenName] => Deepak
                        [goo.contactsEventType] => BIRTHDAY
                        [goo.contactsFullName] => Deepak
                        [goo.isGPlusUser] => false
                        [goo.contactsContactId] => 4a7a6b868dd53910
                        [goo.contactsIsMyContact] => true
                    )

            )

        [reminders] => Array
            (
                [useDefault] => 1
            )

    )


[1] => Array
    (
        [kind] => calendar#event
        [etag] => "3060534890000000"
        [id] => 2018_BIRTHDAY_4a7a6b868dd53910
        [status] => confirmed
        [htmlLink] => https://www.google.com/calendar/event?eid=MjAxOF9CSVJUSERBWV80YTdhNmI4NjhkZDUzOTEwICNjb250YWN0c0B2
        [created] => 2018-06-29T10:17:25.000Z
        [updated] => 2018-06-29T10:17:25.000Z
        [summary] => Deepak's birthday
        [description] => This is Deepak's birthday!
        [creator] => Array
            (
                [email] => #contacts@group.v.calendar.google.com
                [displayName] => Contacts
                [self] => 1
            )

        [organizer] => Array
            (
                [email] => #contacts@group.v.calendar.google.com
                [displayName] => Contacts
                [self] => 1
            )

        [start] => Array
            (
                [date] => 2018-06-30
            )

        [end] => Array
            (
                [date] => 2018-07-01
            )

        [visibility] => public
        [iCalUID] => 2018_BIRTHDAY_4a7a6b868dd53910@google.com
        [sequence] => 0
        [gadget] => Array
            (
                [iconLink] => https://calendar.google.com/googlecalendar/images/cake.gif
                [preferences] => Array
                    (
                        [goo.contactsGivenName] => Deepak
                        [goo.contactsEventType] => BIRTHDAY
                        [goo.contactsFullName] => Deepak
                        [goo.isGPlusUser] => false
                        [goo.contactsContactId] => 4a7a6b868dd53910
                        [goo.contactsIsMyContact] => true
                    )

            )

        [reminders] => Array
            (
                [useDefault] => 1
            )

    )

[2] => Array
(
    [kind] => calendar#event
    [etag] => "3060534890000000"
    [id] => 2019_BIRTHDAY_4a7a6b868dd53910
    [status] => confirmed
    [htmlLink] => https://www.google.com/calendar/event?eid=MjAxOV9CSVJUSERBWV80YTdhNmI4NjhkZDUzOTEwICNjb250YWN0c0B2
    [created] => 2018-06-29T10:17:25.000Z
    [updated] => 2018-06-29T10:17:25.000Z
    [summary] => Deepak's birthday
    [description] => This is Deepak's birthday!
    [creator] => Array
        (
            [email] => #contacts@group.v.calendar.google.com
            [displayName] => Contacts
            [self] => 1
        )

    [organizer] => Array
        (
            [email] => #contacts@group.v.calendar.google.com
            [displayName] => Contacts
            [self] => 1
        )

    [start] => Array
        (
            [date] => 2019-06-30
        )

    [end] => Array
        (
            [date] => 2019-07-01
        )

    [visibility] => public
    [iCalUID] => 2019_BIRTHDAY_4a7a6b868dd53910@google.com
    [sequence] => 0
    [gadget] => Array
        (
            [iconLink] => https://calendar.google.com/googlecalendar/images/cake.gif
            [preferences] => Array
                (
                    [goo.contactsGivenName] => Deepak
                    [goo.contactsEventType] => BIRTHDAY
                    [goo.contactsFullName] => Deepak
                    [goo.isGPlusUser] => false
                    [goo.contactsContactId] => 4a7a6b868dd53910
                    [goo.contactsIsMyContact] => true
                )

        )

    [reminders] => Array
        (
            [useDefault] => 1
        )

)

谷歌日历和谷歌联系人是两个不同的东西。出生日期和生日之间也有区别。前者只发生一次,后者每年发生一次

例:在我的谷歌联系人中,我有一个联系人姓名——迪帕克,他的生日是1990年4月19日

这是您在此用户通讯簿中的条目。它是用户的出生日期

所以这个联系人的生日会显示在谷歌的生日日历上。当我获取谷歌生日日历时,我得到的日期是2017-04-192018-04-192019-04-19

Google calendar生日日历每年为用户生日提供一个活动。这样你就不会忘记送花了

我如何从谷歌生日日历中获得与年份的确切生日联系


如果你只是想从你的谷歌联系人那里获取数据,你应该直接浏览

谷歌日历和谷歌联系人是两码事。出生日期和生日之间也有区别。前者只发生一次,后者每年发生一次

例:在我的谷歌联系人中,我有一个联系人姓名——迪帕克,他的生日是1990年4月19日

这是您在此用户通讯簿中的条目。它是用户的出生日期

所以这个联系人的生日会显示在谷歌的生日日历上。当我获取谷歌生日日历时,我得到的日期是2017-04-192018-04-192019-04-19

Google calendar生日日历每年为用户生日提供一个活动。这样你就不会忘记送花了

我如何从谷歌生日日历中获得与年份的确切生日联系


如果你只是想从你的谷歌联系人那里获取数据,你应该直接浏览

日历不包含原始的出生日期,它包含每个年度生日的提醒。数据没有“错误”,你只是找错了地方。日历上没有原始的出生日期,它包含每年生日的提醒。数据没有“错误”,你只是找错了地方。