From de3b942b4d9fbf7f575c5e16bc3f2a1ea4b13009 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 9 Feb 2016 16:21:52 -0800 Subject: [PATCH] make copyright render the current year Summary: As discussed here https://github.com/facebook/react-native/pull/5835 now the copyright is computed from `Date` Closes https://github.com/facebook/react-native/pull/5847 Reviewed By: svcscm Differential Revision: D2918854 Pulled By: androidtrunkagent fb-gh-sync-id: bd5a56111aec1282857ffd469b91f7476b67221d shipit-source-id: bd5a56111aec1282857ffd469b91f7476b67221d --- website/core/Site.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/core/Site.js b/website/core/Site.js index eface427c5bb46..c1cdc5a129e4cd 100644 --- a/website/core/Site.js +++ b/website/core/Site.js @@ -15,6 +15,7 @@ var HeaderLinks = require('HeaderLinks'); var Site = React.createClass({ render: function() { var title = this.props.title ? this.props.title + ' – ' : ''; + var currentYear = (new Date()).getFullYear(); title += 'React Native | A framework for building native apps using React'; return ( @@ -53,7 +54,7 @@ var Site = React.createClass({ {this.props.children}