Skip to content
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

Make DateTime parameters culture invariant #100

Merged
merged 4 commits into from
Jun 10, 2016

Conversation

nillis
Copy link
Contributor

@nillis nillis commented Jun 10, 2016

For DateTime parameters the default ToString will look into the CurrentCulture to determine the dateformat. This pull request fixes this with the solution proposed in #70 by @wolfen351.

@onionhammer
Copy link
Collaborator

This was already done with a commit I made a while ago, but undone. It might be beneficial to fix the botched merge of all my code by @faniereynders

@faniereynders
Copy link
Member

I had to merge plenty of PRs at the time and had to manually resolve the conflicts. This led to possible feature loss. Hopefully things will start to stabilize now.

@faniereynders
Copy link
Member

Thanks @nillis for your contribution!

@faniereynders faniereynders merged commit 651452f into RestCode:master Jun 10, 2016
@nillis
Copy link
Contributor Author

nillis commented Jun 10, 2016

Thanks to you for the fast response! And for the great library I've been using for 6 months now.

@faniereynders
Copy link
Member

@nillis if you're interested in helping out as an official contributor, let me know. Would be great to expand on the core team.

faniereynders added a commit that referenced this pull request Jun 16, 2016
* Make DateTime parameters culture invariant (#100)

* Make DateTime parameters culture invariant

* Make DateTime parameters culture invariant in cs template

* Make Nullable<DateTime> culture invariant in tt

* Make Nullable<DateTime> culture invariant in cs template

* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103) (#104)
faniereynders added a commit that referenced this pull request Jun 16, 2016
* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103)

* Pull from Master (#105)

* Make DateTime parameters culture invariant (#100)

* Make DateTime parameters culture invariant

* Make DateTime parameters culture invariant in cs template

* Make Nullable<DateTime> culture invariant in tt

* Make Nullable<DateTime> culture invariant in cs template

* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103) (#104)

* Bumped version

* Bumped version

* Bumped version
faniereynders added a commit that referenced this pull request Jun 16, 2016
* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103)

* Pull from Master (#105)

* Make DateTime parameters culture invariant (#100)

* Make DateTime parameters culture invariant

* Make DateTime parameters culture invariant in cs template

* Make Nullable<DateTime> culture invariant in tt

* Make Nullable<DateTime> culture invariant in cs template

* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103) (#104)

* Bumped version

* Bumped version

* Bumped version

* Update AssemblyInfo.cs
faniereynders added a commit that referenced this pull request Jun 16, 2016
* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103)

* Pull from Master (#105)

* Make DateTime parameters culture invariant (#100)

* Make DateTime parameters culture invariant

* Make DateTime parameters culture invariant in cs template

* Make Nullable<DateTime> culture invariant in tt

* Make Nullable<DateTime> culture invariant in cs template

* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103) (#104)

* Bumped version

* Bumped version

* Bumped version

* Update AssemblyInfo.cs

* Update AssemblyInfo.cs
faniereynders added a commit that referenced this pull request Jun 26, 2016
* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103)

* Pull from Master (#105)

* Make DateTime parameters culture invariant (#100)

* Make DateTime parameters culture invariant

* Make DateTime parameters culture invariant in cs template

* Make Nullable<DateTime> culture invariant in tt

* Make Nullable<DateTime> culture invariant in cs template

* MyWebApiProxyBaseAddress trailing slash (sans System.Web) (#103) (#104)

* Bumped version

* Bumped version

* Bumped version

* Update AssemblyInfo.cs

* Update AssemblyInfo.cs

* signed assemblies
@ngm
Copy link

ngm commented Jul 7, 2016

Unfortunately this does not seem to work with Nullable<DateTime> - see #112 .

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

Successfully merging this pull request may close these issues.

4 participants