Skip to content

Commit f900043

Browse files
committed
Add discouraged feature for toGMTString() method
1 parent 1f02a05 commit f900043

4 files changed

+26
-49
lines changed

features/date-to-gmt-string.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: toGMTString()
2+
description: The `toGMTSTring()` method of `Date` objects is an alias to the `toUTCString()` method.
3+
spec: https://tc39.es/ecma262/multipage/additional-ecmascript-features-for-web-browsers.html#sec-date.prototype.togmtstring
4+
discouraged:
5+
according_to:
6+
- https://tc39.es/ecma262/multipage/additional-ecmascript-features-for-web-browsers.html#sec-additional-ecmascript-features-for-web-browsers
7+
# No `alternatives` becuase it would be `alternatives: [date]`. In the future
8+
# it'd be nice to have an internal reference to the `toUTCString()` method
9+
# instead.
10+
compat_features:
11+
- javascript.builtins.Date.toGMTString

features/date-to-gmt-string.yml.dist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Generated from: date-to-gmt-string.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "1"
8+
chrome_android: "18"
9+
edge: "12"
10+
firefox: "1"
11+
firefox_android: "4"
12+
safari: "1"
13+
safari_ios: "1"
14+
compat_features:
15+
- javascript.builtins.Date.toGMTString

features/javascript-discouraged.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

features/javascript-discouraged.yml.dist

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)