Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Keyboard Shortcuts
File
u
:
up to issue
m
:
publish + mail comments
M
:
edit review message
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
<Enter>
:
respond to / edit current comment
d
:
mark current comment as done
Issue
u
:
up to list of issues
m
:
publish + mail comments
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
#
:
close issue
Comment/message editing
<Ctrl>
+
s
or
<Ctrl>
+
Enter
:
save comment
<Esc>
:
cancel edit
Rietveld
Code Review Tool
Help
|
Bug tracker
|
Discussion group
|
Source code
Issues
All Issues
Side by Side Diff: filters/humanize_date.py
Issue
29334171
:
Issue 3410 - Added date sort / format for press releases (Closed)
Patch Set: Fixed datetime call
Created Feb. 9, 2016, 4 p.m.
Left:
Base
Patch Set 1: None
Patch Set 2: Fixed rename, typos, and function names
Patch Set 3: Changing sort filters and utf8 charaters in release hrefs
Patch Set 4: Changed humanize_dates to format a single date and removed space before argument list
Patch Set 5: Fixed import
Patch Set 6: Changed teamsort to be consistent with fixed import
Patch Set 7: Fixed datetime call
Right:
Patch Set 1: None
Patch Set 2: Fixed rename, typos, and function names
Patch Set 3: Changing sort filters and utf8 charaters in release hrefs
Patch Set 4: Changed humanize_dates to format a single date and removed space before argument list
Patch Set 5: Fixed import
Patch Set 6: Changed teamsort to be consistent with fixed import
Patch Set 7: Fixed datetime call
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
filters/datesort.py
filters/humanize_date.py
filters/teamsort.py
includes/press/releases.tmpl
pages/team.tmpl
View unified diff
|
Download patch
« no previous file with comments
|
« filters/datesort.py
('k') |
filters/teamsort.py »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
from datetime import datetime
2
3
def humanize_date(date):
4
return datetime.strptime(date, "%Y-%m-%d").strftime("%B %d, %Y")
OLD
NEW
« no previous file with comments
|
« filters/datesort.py
('k') |
filters/teamsort.py »
('j') |
no next file with comments »
Edit Message
Issue 29334171: Issue 3410 - Added date sort / format for press releases (Closed)
Created Jan. 20, 2016, 4:58 p.m. by juliandoucette
Modified Feb. 10, 2016, 1:39 p.m.
Reviewers: saroyanm, Sebastian Noack
Base URL:
Comments: 44
This is Rietveld