0

How i can change date format to be like this : 26-october 22:01:12

Running with Laravel and vue.js

I expect the output 2019-03-26 08:29:23

1 Answer 1

2

I suggest you use the library moment.js for that purpose.

import moment from 'moment'

moment('2019-03-26 08:29:23').format('DD-MMMM HH:mm:ss') // outputs 26-March 08:29:23
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.