Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make copyright year dynamic #1303

Merged
merged 2 commits into from
Mar 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, /<pre data-preload="([^"]+)".*/g, function(m0, fileContents) {
Expand Down
2 changes: 1 addition & 1 deletion website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ <h4 title="As you type diffing for all supported languages">Side by side live co
<img src="https://opensource.microsoft.com/img/microsoft.png" alt="Microsoft" style="max-height:23px;margin-bottom:12px;">
</a>
<br/>
<small>&copy; 2018 Microsoft</small>
<small>&copy; {{year}} Microsoft</small>
</p>
</footer>

Expand Down
2 changes: 1 addition & 1 deletion website/monarch.html
Original file line number Diff line number Diff line change
Expand Up @@ -4517,7 +4517,7 @@ <h2 id="htmlembed">&Uuml;ber Advanced: complex embeddings with dynamic end tags<
<footer class="container">
<hr>
<p class="text-center">
<small>&copy; 2018 Microsoft</small>
<small>&copy; {{year}} Microsoft</small>
</p>
</footer>

Expand Down
2 changes: 1 addition & 1 deletion website/playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<footer class="container">
<hr>
<p class="text-center">
<small>&copy; 2018 Microsoft</small>
<small>&copy; {{year}} Microsoft</small>
</p>
</footer>

Expand Down