Skip to content

Instantly share code, notes, and snippets.

@diaolizhi diaolizhi/a.js
Created Apr 28, 2019

Embed
What would you like to do?
JavaScript 格式化后端返回的时间
new Date(data.updated).toLocaleString();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.