Skip to content

Instantly share code, notes, and snippets.

@firstfu
Created September 9, 2019 06:24
Show Gist options
  • Save firstfu/40e575a541c26a20dc8c3ab22f31d91a to your computer and use it in GitHub Desktop.
Save firstfu/40e575a541c26a20dc8c3ab22f31d91a to your computer and use it in GitHub Desktop.
## 取代全部
let dd = '2019-08-31 16:57:46'
dateVal = dateVal.replace(/-/g, '/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment