New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upport datatime whose kind is Local #498

Merged
merged 1 commit into from Aug 23, 2016

Conversation

Projects
None yet
4 participants
@QingshuChen
Contributor

QingshuChen commented Aug 23, 2016

Issues

*This pull request fixes issue #488 *

@msftclas

This comment has been minimized.

msftclas commented Aug 23, 2016

Hi @QingshuChen, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Qingshu Chen). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

{
return new DateTimeOffset(dateTimeValue, TimeZoneInfo.Local.GetUtcOffset(dateTimeValue));
}
return new DateTimeOffset(dateTimeValue, TimeSpan.Zero);

This comment has been minimized.

@chinadragon0515

chinadragon0515 Aug 23, 2016

Contributor

Add a blank line after "}" or build will fail.

@QingshuChen QingshuChen merged commit 29cc06f into OData:master Aug 23, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment