Invalid datetime format: 1292 Incorrect datetime value: ‘2047-10-23 23:29:24’ for column ‘date’

When I insert the date as ‘2019-10-10 00:00:00’, my operation can be completed. But when I inserted the date as ‘2047-10-23 23:29:24’, my mysql reported an error. SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: ‘2047-10-23 23:29:24’ for column ‘date’ at row 1 mysql version:5.7.21

Discover more

Cannot set parent variable using child scope created via ng-if

I have the following div <div class=”form-group col-lg-12 ignore-left-padding” ng-show=”!labeledIntents”> <label for=”intent-count”><h4>Number of intents</h4></label> <div> <switcher ng-model=”manualNumberOfIntents” ng-change=”onSwitcherChange()” false-label=”Autodetect” true-label=”Manual input”> </switcher>&nbsp; <input ng-if=”manualNumberOfIntents” show-focus=”autoNumberOfIntents” ng-model=”$parent.count” type=”number” step=”1″ min=”1″ max=”200″ id=”intent-count” placeholder=”1-200″ style=”width: 75px;” required/> </div> </div> In there i have a switch which, when turned on, displays a number box that is mandatory. For…

Discover more