From 404c2f8dde8e68b06caa870b38621003698806a9 Mon Sep 17 00:00:00 2001 From: dev02 Date: Fri, 18 Nov 2022 09:21:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9modal=E9=87=8D=E8=A4=87?= =?UTF-8?q?=E5=90=8D=E7=A8=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/Models/Device.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FrontendWebApi/Models/Device.cs b/FrontendWebApi/Models/Device.cs index b0d3752..c0f4595 100644 --- a/FrontendWebApi/Models/Device.cs +++ b/FrontendWebApi/Models/Device.cs @@ -97,19 +97,19 @@ namespace FrontendWebApi.Models public string work_person_name { get; set; } public DateTime finish_time { get; set; } public DateTime created_at { get; set; } - public string Created_at + public string createdAt { get { - return Convert.ToDateTime(created_at).ToString("yyyy-MM-dd HH:mm:ss"); + return created_at.ToString("yyyy-MM-dd HH:mm:ss"); } } //創建時間 - public string Finish_time + public string finishTime { get { - return Convert.ToDateTime(finish_time).ToString("yyyy-MM-dd HH:mm:ss"); + return finish_time.ToString("yyyy-MM-dd HH:mm:ss"); } } //結束時間 public string device_node_guid { get; set; }