Browse Source

Convert to moment-timezone.

feature/bike-tracking
Drew Larson 8 years ago
parent
commit
7bb1f80435
  1. 4
      bikeshop_project/assets/js/components/SignIn.jsx
  2. 2
      bikeshop_project/assets/js/components/SignedInList.jsx

4
bikeshop_project/assets/js/components/SignIn.jsx

@ -1,5 +1,5 @@
import fetch from 'isomorphic-fetch';
import moment from 'moment';
import moment from 'moment-timezone';
import React from 'react';
import RaisedButton from 'material-ui/RaisedButton';
@ -7,7 +7,6 @@ import Member from './Member';
import Purpose from './Purpose';
import SignedInList from './SignedInList';
export default class SignIn extends React.Component {
constructor(props) {
super(props);
@ -132,7 +131,6 @@ export default class SignIn extends React.Component {
searchText={this.state.searchText}
/>
</div>
<div className="mdl-cell mdl-cell--4-col">
<Purpose
handleChange={this.handlePurposeChoice}

2
bikeshop_project/assets/js/components/SignedInList.jsx

@ -3,7 +3,7 @@ import FloatingActionButton from 'material-ui/FloatingActionButton';
import _ from 'lodash';
import React, { PropTypes } from 'react';
import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table';
import moment from 'moment';
import moment from 'moment-timezone';
const styles = {
suspended: {

Loading…
Cancel
Save