i working laravel since while , in love carbon time stamp instances , how easy manipulate them , convert them human readable dates display.
but right working on project front end decoupled end , cannot call carbon api methods convert date human readable format.
is there javascript library same manipulations carbon can use in front end templates , inject human readable time formats views.
you should at
it provides clear , nice use interface i.e.:
var start = moment([2007, 0, 5]); var end = moment([2007, 0, 10]); end.from(start); // "in 5 days" end.from(start, true); // "5 days"
Comments
Post a Comment