mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 17:25:15 +00:00
FIX: Could not create topic timers for certain locales.
https://meta.discourse.org/t/topic-timer-doesnt-work-for-fa-ir-locale/83702/2
This commit is contained in:
parent
2f61780a49
commit
252e58dfe9
@ -162,7 +162,7 @@ export default ComboBoxComponent.extend(DatetimeMixin, {
|
|||||||
const { time } = this._updateAt(value);
|
const { time } = this._updateAt(value);
|
||||||
|
|
||||||
if (time && !Ember.isEmpty(value)) {
|
if (time && !Ember.isEmpty(value)) {
|
||||||
input = time.format(FORMAT);
|
input = time.locale('en').format(FORMAT);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setProperties({ input, value });
|
this.setProperties({ input, value });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user