switch to new ES6 DateUtils imports

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-01-10 21:50:32 +00:00
parent b16dcbc057
commit 77e2ceba9e
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E
3 changed files with 7 additions and 7 deletions

View file

@ -16,7 +16,7 @@ limitations under the License.
import React from 'react';
import { _t } from 'matrix-react-sdk/lib/languageHandler';
import DateUtils from 'matrix-react-sdk/lib/DateUtils';
import {formatFullDate} from 'matrix-react-sdk/lib/DateUtils';
function getdaysArray() {
return [
@ -49,7 +49,7 @@ module.exports = React.createClass({
label = days[date.getDay()];
}
else {
label = DateUtils.formatFullDate(date, this.props.showTwelveHour);
label = formatFullDate(date, this.props.showTwelveHour);
}
return (