Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Fixes issue #5 problems with DateTime format for Mixpanel #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisnicola
Copy link
Owner

No description provided.

@chrisnicola
Copy link
Owner Author

Hey @StanleyGoldman and @EliSchleifer can you guys give these changes a try. They should work but I have not had time to test them out. Assuming it's all good I can merge this and release to Nuget.

@chrisnicola
Copy link
Owner Author

Hey @StanleyGoldman I'd like to merge this in soon. Let me know if you can take a quick look at it.

@StanleyGoldman
Copy link
Collaborator

I'll peer review it later on tonight.

propertyBag.Remove("Time");
}
if (_options.SetEventTime && !properties.Keys.Any(x => x.ToLower() == "time"))
propertyBag["time"] = DateTime.UtcNow.FormatDate();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old code would rename Time to time whereas the new code doesn't. I suspect that was done because mix panel is case sensitive on that property (but that's just a guess).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants