0
我的日期轉換爲使用Date.parse()時間戳。每次我找到鑰匙「Date__c」的值。使用lodash /強調我怎麼可以更新的關鍵
[
{
"Date__c":"07/30/2015",
"End_Time__c":"14:00",
"Start_Time__c":"07:00"
},
{
"Date__c":"07/30/2015",
"End_Time__c":"14:00",
"Start_Time__c":"07:00"
},
{
"Date__c":"07/30/2015",
"End_Time__c":"14:00",
"Start_Time__c":"07:00"
}
]
To become
[
{
"Date__c":1438185600000,
"End_Time__c":"14:00",
"Start_Time__c":"07:00"
},
{
"Date__c":1438185600000,
"End_Time__c":"14:00",
"Start_Time__c":"07:00"
},
{
"Date__c":1438185600000,
"End_Time__c":"14:00",
"Start_Time__c":"07:00"
}
]