2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: allTimezonesd was mistakenly removed (#7513)

This commit is contained in:
Joffrey JAFFEUX 2019-05-09 10:22:54 +02:00 committed by GitHub
parent 977ffa20f4
commit f3a346464e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,6 +178,11 @@ export default Ember.Component.extend({
return moment.tz.guess();
},
@computed
allTimezones() {
return moment.tz.names();
},
timezoneIsDifferentFromUserTimezone: propertyNotEqual(
"currentUserTimezone",
"options.timezone"