mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
@ -14,6 +14,7 @@ class E2EPage {
|
||||
webkitOpenSourced = '2005-06-17T11:06Z';
|
||||
chromeReleased = '2008-09-02';
|
||||
leapYearsSummerMonths = '';
|
||||
convertedDate = '';
|
||||
|
||||
leapYearsArray = [2020, 2016, 2008, 2004, 2000, 1996];
|
||||
|
||||
@ -39,6 +40,10 @@ class E2EPage {
|
||||
this.leapYearsSummerMonths = null;
|
||||
}
|
||||
|
||||
convertDate() {
|
||||
this.convertedDate = new Date(this.myDate).toISOString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user