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

Create new filter serverDateLocalized #99

Merged
merged 2 commits into from
Nov 12, 2021
Merged

Create new filter serverDateLocalized #99

merged 2 commits into from
Nov 12, 2021

Conversation

brandones
Copy link
Contributor

No description provided.

Copy link
Member

@mogoodrich mogoodrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @brandones !

return new Date(isoString).toLocaleString(locale, options);
}
}])

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big deal, and tangential to this PR, but you might want to move, remove/move the methods that do things the "right" way out of this file, since it's called serverDate.js, and make this file about the "bad/dangerous' filters which could eventually be deprecated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I did it; let me know if there's anything else I need to do?

Copy link
Member

@mogoodrich mogoodrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @brandones !

@brandones brandones merged commit 2d7720f into master Nov 12, 2021
@brandones brandones deleted the locale-dates branch November 12, 2021 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants