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 fetch from 'isomorphic-fetch';
import moment from 'moment'; import moment from 'moment-timezone';
import React from 'react'; import React from 'react';
import RaisedButton from 'material-ui/RaisedButton'; import RaisedButton from 'material-ui/RaisedButton';
@ -7,7 +7,6 @@ import Member from './Member';
import Purpose from './Purpose'; import Purpose from './Purpose';
import SignedInList from './SignedInList'; import SignedInList from './SignedInList';
export default class SignIn extends React.Component { export default class SignIn extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
@ -132,7 +131,6 @@ export default class SignIn extends React.Component {
searchText={this.state.searchText} searchText={this.state.searchText}
/> />
</div> </div>
<div className="mdl-cell mdl-cell--4-col"> <div className="mdl-cell mdl-cell--4-col">
<Purpose <Purpose
handleChange={this.handlePurposeChoice} 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 _ from 'lodash';
import React, { PropTypes } from 'react'; import React, { PropTypes } from 'react';
import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table';
import moment from 'moment'; import moment from 'moment-timezone';
const styles = { const styles = {
suspended: { suspended: {

Loading…
Cancel
Save