diff options
| author | alattalatta <urty5656@gmail.com> | 2021-08-14 15:57:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-14 15:57:42 +0900 |
| commit | 86792571ae1a21a1e4bf526747d6dd1c2636d167 (patch) | |
| tree | c8cabac7926ab152ce22d07e4670fcb90943d61a /files/ko/web/javascript/reference/global_objects/date | |
| parent | a04c78de5e61e8b716173968d63f6113a09651bd (diff) | |
| download | translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.tar.gz translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.tar.bz2 translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.zip | |
Clean up JS reference documents (#1818)
* Clean up JavaScript references HTML code
- Remove inline styles
- Remove <font> elements
- Remove title attribute
* Remove sup/sub from JavaScript reference
* Remove name attrs from JavaScript reference
* Remove legacy browser compat elements
* Remove duplicate browser-compat key
Diffstat (limited to 'files/ko/web/javascript/reference/global_objects/date')
3 files changed, 4 insertions, 7 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/date/getdate/index.html b/files/ko/web/javascript/reference/global_objects/date/getdate/index.html index fdacc321cf..e669ebb1ae 100644 --- a/files/ko/web/javascript/reference/global_objects/date/getdate/index.html +++ b/files/ko/web/javascript/reference/global_objects/date/getdate/index.html @@ -29,7 +29,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getDate <h3 id="getDate()_사용하기"><code>getDate()</code> 사용하기</h3> -<p>아래 코드의 두 번째 명령문은 <code>Xmas95</code>의 값에 기반하여 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5);">day</span></font>에 2를 할당합니다.</p> +<p>아래 코드의 두 번째 명령문은 <code>Xmas95</code>의 값에 기반하여 <code>day</code>에 2를 할당합니다.</p> <pre class="brush: js">var Xmas95 = new Date('December 25, 1995 23:15:30'); var day = Xmas95.getDate(); diff --git a/files/ko/web/javascript/reference/global_objects/date/getmonth/index.html b/files/ko/web/javascript/reference/global_objects/date/getmonth/index.html index 48fe002a99..d4bcf4b613 100644 --- a/files/ko/web/javascript/reference/global_objects/date/getmonth/index.html +++ b/files/ko/web/javascript/reference/global_objects/date/getmonth/index.html @@ -86,7 +86,7 @@ console.log(new Intl.DateTimeFormat('en-US', options).format(Xmas95)); <p>{{Compat("javascript.builtins.Date.getMonth")}}</p> -<h2 id="See_also" name="See_also">같이 보기</h2> +<h2 id="See_also">같이 보기</h2> <ul> <li>{{jsxref("Date.prototype.getUTCMonth()")}}</li> diff --git a/files/ko/web/javascript/reference/global_objects/date/todatestring/index.html b/files/ko/web/javascript/reference/global_objects/date/todatestring/index.html index 1ded363e99..d8eaec04b9 100644 --- a/files/ko/web/javascript/reference/global_objects/date/todatestring/index.html +++ b/files/ko/web/javascript/reference/global_objects/date/todatestring/index.html @@ -1,6 +1,7 @@ --- title: Date.prototype.toDateString() slug: Web/JavaScript/Reference/Global_Objects/Date/toDateString +browser-compat: javascript.builtins.Date.toDateString translation_of: Web/JavaScript/Reference/Global_Objects/Date/toDateString --- <div>{{JSRef}}</div> @@ -67,11 +68,7 @@ console.log(d.toDateString()); // logs Wed Jul 28 1993 <h2 id="브라우저_호환성">브라우저 호환성</h2> -<p>{{Compat("javascript.builtins.Date.toDateString")}}</p> - -<div> </div> - -<div id="compat-mobile"> </div> +<p>{{Compat}}</p> <h2 id="See_also">See also</h2> |
