Skip to content
Snippets Groups Projects
Commit e39dedf4 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Be explicit about the timezone

parent 6eece80f
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ class Note extends React.Component { ...@@ -17,7 +17,7 @@ class Note extends React.Component {
render() { render() {
const { note } = this.props; const { note } = this.props;
const date = new Date(note.timestamp).toLocaleDateString('en-gb', {day: 'numeric', month: 'short', year:'numeric'}) const date = new Date(note.timestamp).toLocaleDateString('en-gb', {day: 'numeric', month: 'short', year:'numeric', timezone:'GMT'})
return <NoteListingItem return <NoteListingItem
user={note.user} user={note.user}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment