Js time format Thu Nov 08 2018 00:00:00 GMT+0800 (China Standard time)

The

project uses vue--iview. The time format returned by the background interface console is printed out as 2018-11-0800: 00 GMT+0800. Why does it become Thu Nov 08 2018 00:00:00 GMT+0800 (Chinese Standard time) format after assigning this.dates=res.data.times to be used elsewhere?

Oct.12,2021

first determine whether your front end is using a Date or a date format String .
secondly, how will it be converted to a string if it is Date . Date toString


just set the event display format, right? If you are using the time component, there should be a formatter function to set the time.


means that what you are printing is not the same thing

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaf509-2242.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaf509-2242.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?