mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Array literal
This commit is contained in:
parent
d688eade43
commit
92579cf463
@ -19,15 +19,15 @@ import { _t } from 'matrix-react-sdk/lib/languageHandler';
|
|||||||
import DateUtils from 'matrix-react-sdk/lib/DateUtils';
|
import DateUtils from 'matrix-react-sdk/lib/DateUtils';
|
||||||
|
|
||||||
function getdaysArray() {
|
function getdaysArray() {
|
||||||
var days = [];
|
return [
|
||||||
days.push(_t('Sunday'));
|
_t('Sunday'),
|
||||||
days.push(_t('Monday'));
|
_t('Monday'),
|
||||||
days.push(_t('Tuesday'));
|
_t('Tuesday'),
|
||||||
days.push(_t('Wednesday'));
|
_t('Wednesday'),
|
||||||
days.push(_t('Thursday'));
|
_t('Thursday'),
|
||||||
days.push(_t('Friday'));
|
_t('Friday'),
|
||||||
days.push(_t('Saturday'));
|
_t('Saturday'),
|
||||||
return days;
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = React.createClass({
|
module.exports = React.createClass({
|
||||||
|
Loading…
Reference in New Issue
Block a user