mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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);
|
||||
|
||||
if (time && !Ember.isEmpty(value)) {
|
||||
input = time.format(FORMAT);
|
||||
input = time.locale('en').format(FORMAT);
|
||||
}
|
||||
|
||||
this.setProperties({ input, value });
|
||||
|
Loading…
Reference in New Issue
Block a user