diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:08:08 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:08:08 +0000 |
commit | 1b6dc3e04f3438ab25faff315890bc82e82a262a (patch) | |
tree | c1528eda75d2bfa70ae68d111b65d38920085c15 /net/base/net_util.cc | |
parent | b81af210441caf958d664a7abc62050f009e464e (diff) | |
download | chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.zip chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.tar.gz chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.tar.bz2 |
Update the time formatting APIs to use string16.
BUG=23581
TEST=everything still works
Review URL: http://codereview.chromium.org/6064003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_util.cc')
-rw-r--r-- | net/base/net_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/net_util.cc b/net/base/net_util.cc index 4f6e361..b4b0226 100644 --- a/net/base/net_util.cc +++ b/net/base/net_util.cc @@ -1362,7 +1362,7 @@ std::string GetDirectoryListingEntry(const string16& name, string16 modified_str; // |modified| can be NULL in FTP listings. if (!modified.is_null()) { - modified_str = WideToUTF16Hack(base::TimeFormatShortDateAndTime(modified)); + modified_str = base::TimeFormatShortDateAndTime(modified); } base::JsonDoubleQuote(modified_str, true, &result); |