From 5c2439210d853ef1922f5f381fb14927052ea631 Mon Sep 17 00:00:00 2001 From: Swarnava Sengupta Date: Tue, 5 Feb 2019 23:31:33 +0530 Subject: [PATCH 1/2] Make copyright year dynamic --- website/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/index.html b/website/index.html index b3a11695..f965cd33 100644 --- a/website/index.html +++ b/website/index.html @@ -154,7 +154,7 @@ Microsoft
- © 2018 Microsoft + © Microsoft

From 78076d9bf825dd7d0e64be5de34df27351b8e9d2 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 1 Mar 2019 22:48:57 +0100 Subject: [PATCH 2/2] 2018 -> 2019 --- LICENSE.md | 2 +- gulpfile.js | 2 +- website/index.html | 2 +- website/monarch.html | 2 +- website/playground.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 92dfda1c..16ad7cd6 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft Corporation +Copyright (c) 2019 Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/gulpfile.js b/gulpfile.js index e27ef04f..da8cfd91 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -547,7 +547,7 @@ gulp.task('build-website', ['clean-website'], function() { var contents = data.contents.toString(); contents = contents.replace(/\.\.\/release\/dev/g, 'node_modules/monaco-editor/min'); contents = contents.replace(/{{version}}/g, MONACO_EDITOR_VERSION); - // contents = contents.replace('© 2017 Microsoft', '© 2017 Microsoft [' + builtTime + ']'); + contents = contents.replace(/{{year}}/g, new Date().getFullYear()); // Preload xhr contents contents = replaceWithRelativeResource(data.path, contents, /
 			
 			
- © Microsoft + © {{year}} Microsoft

diff --git a/website/monarch.html b/website/monarch.html index 71b9c7a3..6eef719c 100644 --- a/website/monarch.html +++ b/website/monarch.html @@ -4517,7 +4517,7 @@ return {

- © 2018 Microsoft + © {{year}} Microsoft

diff --git a/website/playground.html b/website/playground.html index 2b2f45bb..380cd484 100644 --- a/website/playground.html +++ b/website/playground.html @@ -67,7 +67,7 @@