git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| Date.prototype.clone = function () { | |
| return new Date(this.valueOf()); | |
| } | |
| Date.prototype.addDays = function (days) { | |
| var d = this.clone(); | |
| d.setDate(d.getDate() + days); | |
| return d; | |
| } |
| public class LocalizedModelBinder : DefaultModelBinder | |
| { | |
| private readonly CultureInfo _cultureInfo; | |
| public LocalizedModelBinder(string cultureName) | |
| { | |
| _cultureInfo = CultureInfo.GetCultureInfo(cultureName); | |
| } | |
| public override object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext) |