Skip to content

A platform for community discussion. Free, open, simple.

FIX: Could not create topic timers for certain locales.

Guo Xiang Tan252e58dfe995
diff --git a/app/assets/javascripts/select-kit/components/future-date-input-selector.js.es6 b/app/assets/javascripts/select-kit/components/future-date-input-selector.js.es6
index 296da5a1fd9..580c351bb45 100644
--- a/app/assets/javascripts/select-kit/components/future-date-input-selector.js.es6
+++ b/app/assets/javascripts/select-kit/components/future-date-input-selector.js.es6
@@ -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 });