playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.46k stars 965 forks source link

Leaderboard Score Date #2918

Open andrex903 opened 4 years ago

andrex903 commented 4 years ago

Hi, when i load the scores the date i get is wrong, every score has the date 1/1/1970. foreach (IScore score in scores) { Debug.Log(score.date.ToShortString()) }

mukhinid commented 4 years ago

Hi! Which version of the plugin do you use? This seems to be fixed in #2848.

andrex903 commented 4 years ago

I use 0.10.09

mukhinid commented 4 years ago

Hello again! I'm sorry, I misunderstood what date we were talking about. I found the following by looking at the source code of the plugin: https://github.com/playgameservices/play-games-plugin-for-unity/blob/219fb2c4835b3ab9f26ed938a5df15b9fd6852d3/source/PluginDev/Assets/GooglePlayGames/ISocialPlatform/PlayGamesScore.cs#L83

I don't know why, but it looks like it hasn't been implemented yet. Sad, but true.

ozdemir08 commented 3 years ago

Sorry for hanging this around for a long while. I have added this to backlog and we will fix it with the next release.