From 63f6515dfbe814719c3e7b5ed9febf556790b387 Mon Sep 17 00:00:00 2001 From: rpechayr Date: Thu, 15 Nov 2012 09:14:19 +0100 Subject: [PATCH] Displaying last update date --- .../Classes/View/EGORefreshTableHeaderView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m b/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m index 56b345b..0f1ba2c 100755 --- a/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m +++ b/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m @@ -117,7 +117,7 @@ - (void)refreshLastUpdatedDate { [dateFormatter setDateStyle:NSDateFormatterShortStyle]; [dateFormatter setTimeStyle:NSDateFormatterShortStyle]; - _lastUpdatedLabel.text = [NSString stringWithFormat:@"Last Updated: %@", [dateFormatter stringFromDate:date]]; + _lastUpdatedLabel.text = [NSString stringWithFormat:NSLocalizedString(@"Last Updated: %@", @"Last Updated format label"), [dateFormatter stringFromDate:date]]; [[NSUserDefaults standardUserDefaults] setObject:_lastUpdatedLabel.text forKey:@"EGORefreshTableView_LastRefresh"]; [[NSUserDefaults standardUserDefaults] synchronize];