-
Notifications
You must be signed in to change notification settings - Fork 8
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
Added two new event parameters: localize and all_day. #5
base: master
Are you sure you want to change the base?
Conversation
…ters: localize and all_day.
FYI: prior to 2.6 |
I'm not sure what I was thinking, but you're right—I edited the pull request title and scrubbed out the stupid. Fantastic headshot, sir. |
No worries. One simple way to go may be something like this:
Granted, I have not tested, but in theory that should resolve the issue.
Thanks! |
I don't see how this would work on EE < 2.6 given the use of |
I know I mentioned the EE < 2.6 support, but I honestly don't know what I was thinking. If you could pay me a kindness and pretend it was somebody else, I'd certainly appreciate it. |
{ | ||
return ee()->localize->format_date('%Y%m%dT%H%i%s', $time); | ||
if ($localize) { | ||
if (APP_VER >= '2.6.0') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, you can get rid of these lines if EE < 2.6 isn't an issue then :)
Done! |
I hacked this for an EE 2.5.5 install using Low Events 1.1.4 and it's been great.