mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: keep date object (#9292)
This commit is contained in:
@@ -32,7 +32,6 @@ export default Component.extend({
|
||||
|
||||
onChangeDate(date) {
|
||||
if (this.onChange) {
|
||||
date = new Date(this.date);
|
||||
const year = date.getFullYear();
|
||||
const month = date.getMonth();
|
||||
const day = date.getDate();
|
||||
|
||||
Reference in New Issue
Block a user