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

There is no way to specify a Date as UTC according to the RFC #24

Open
Sandy987 opened this issue Jan 26, 2017 · 0 comments
Open

There is no way to specify a Date as UTC according to the RFC #24

Sandy987 opened this issue Jan 26, 2017 · 0 comments

Comments

@Sandy987
Copy link

In the RFC (https://tools.ietf.org/html/rfc5545#section-3.3.5), a UTC date can be specified in the following format without a TZID:
19980119T070000Z

However, the formatDate helper does not allow the option of emitting the 'Z' character if the date is UTC.

I propose a parameter be added to the formatDate function that informs whether the Date object should be treated as UTC (and subsequently emit the Z character on the rendered date string)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant