diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-07-24 10:38:03 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-07-24 13:40:37 -0300 |
| commit | 0dc574dbdfab50c11ae05fd834e1b76448ca95eb (patch) | |
| tree | e61b4355420e603b721f356839ab0d011422bce7 /app/containers | |
| parent | 7fc6c80ee49d57fc84597d83b0216dd8df6dc127 (diff) | |
| download | mullvadvpn-0dc574dbdfab50c11ae05fd834e1b76448ca95eb.tar.xz mullvadvpn-0dc574dbdfab50c11ae05fd834e1b76448ca95eb.zip | |
Localize expiry time
Diffstat (limited to 'app/containers')
| -rw-r--r-- | app/containers/AccountPage.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/containers/AccountPage.js b/app/containers/AccountPage.js index 2c23d326d8..a85ad3d43f 100644 --- a/app/containers/AccountPage.js +++ b/app/containers/AccountPage.js @@ -1,5 +1,6 @@ // @flow +import { remote } from 'electron'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { push } from 'react-router-redux'; @@ -14,6 +15,7 @@ import type { SharedRouteProps } from '../routes'; const mapStateToProps = (state: ReduxState) => ({ accountToken: state.account.accountToken, accountExpiry: state.account.expiry, + expiryLocale: remote.app.getLocale(), }); const mapDispatchToProps = (dispatch: ReduxDispatch, props: SharedRouteProps) => { const { copyAccountToken } = bindActionCreators(accountActions, dispatch); |
