Merge pull request #474 from hargata/Hargata/update.readme
Fix the problem with time.
This commit is contained in:
@@ -2145,7 +2145,7 @@ namespace CarCareTracker.Controllers
|
|||||||
{
|
{
|
||||||
_odometerLogic.AutoInsertOdometerRecord(new OdometerRecord
|
_odometerLogic.AutoInsertOdometerRecord(new OdometerRecord
|
||||||
{
|
{
|
||||||
Date = DateTime.Now,
|
Date = DateTime.Now.Date,
|
||||||
VehicleId = existingRecord.VehicleId,
|
VehicleId = existingRecord.VehicleId,
|
||||||
Mileage = odometer,
|
Mileage = odometer,
|
||||||
Notes = $"Auto Insert From Plan Record: {existingRecord.Description}",
|
Notes = $"Auto Insert From Plan Record: {existingRecord.Description}",
|
||||||
@@ -2158,7 +2158,7 @@ namespace CarCareTracker.Controllers
|
|||||||
var newRecord = new ServiceRecord()
|
var newRecord = new ServiceRecord()
|
||||||
{
|
{
|
||||||
VehicleId = existingRecord.VehicleId,
|
VehicleId = existingRecord.VehicleId,
|
||||||
Date = DateTime.Now,
|
Date = DateTime.Now.Date,
|
||||||
Mileage = odometer,
|
Mileage = odometer,
|
||||||
Description = existingRecord.Description,
|
Description = existingRecord.Description,
|
||||||
Cost = existingRecord.Cost,
|
Cost = existingRecord.Cost,
|
||||||
@@ -2174,7 +2174,7 @@ namespace CarCareTracker.Controllers
|
|||||||
var newRecord = new CollisionRecord()
|
var newRecord = new CollisionRecord()
|
||||||
{
|
{
|
||||||
VehicleId = existingRecord.VehicleId,
|
VehicleId = existingRecord.VehicleId,
|
||||||
Date = DateTime.Now,
|
Date = DateTime.Now.Date,
|
||||||
Mileage = odometer,
|
Mileage = odometer,
|
||||||
Description = existingRecord.Description,
|
Description = existingRecord.Description,
|
||||||
Cost = existingRecord.Cost,
|
Cost = existingRecord.Cost,
|
||||||
@@ -2190,7 +2190,7 @@ namespace CarCareTracker.Controllers
|
|||||||
var newRecord = new UpgradeRecord()
|
var newRecord = new UpgradeRecord()
|
||||||
{
|
{
|
||||||
VehicleId = existingRecord.VehicleId,
|
VehicleId = existingRecord.VehicleId,
|
||||||
Date = DateTime.Now,
|
Date = DateTime.Now.Date,
|
||||||
Mileage = odometer,
|
Mileage = odometer,
|
||||||
Description = existingRecord.Description,
|
Description = existingRecord.Description,
|
||||||
Cost = existingRecord.Cost,
|
Cost = existingRecord.Cost,
|
||||||
|
|||||||
Reference in New Issue
Block a user