FIX: only change to time format when dealing with today's time
This commit is contained in:
parent
d7f6d37a98
commit
61955d2aa1
|
@ -141,6 +141,7 @@ export default Ember.Component.extend({
|
||||||
if (
|
if (
|
||||||
time &&
|
time &&
|
||||||
toTime &&
|
toTime &&
|
||||||
|
date === moment().format(this.dateFormat) &&
|
||||||
date === toDate &&
|
date === toDate &&
|
||||||
this.get("formats").includes(format)
|
this.get("formats").includes(format)
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue