mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-02-23 15:50:00 +01:00
fix(example-auth): convert UTC to local time
Requires chrono 0.2.3 to work. Also removed some warnings
This commit is contained in:
@@ -8,7 +8,7 @@ use hyper;
|
||||
use hyper::header::ContentType;
|
||||
use url::form_urlencoded;
|
||||
use itertools::Itertools;
|
||||
use rustc_serialize::{self, json};
|
||||
use rustc_serialize::json;
|
||||
use chrono::{DateTime,UTC};
|
||||
|
||||
use common::{Token, AuthenticationType};
|
||||
|
||||
@@ -4,7 +4,7 @@ use std::time::Duration;
|
||||
use chrono::UTC;
|
||||
use hyper;
|
||||
use hyper::header::ContentType;
|
||||
use rustc_serialize::{self, json};
|
||||
use rustc_serialize::json;
|
||||
use url::form_urlencoded;
|
||||
use super::Token;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user