Comments (5)
I can see the date and time is being faithfully reproduced from the ics file:
https://wiggio.com/cal.php?code=506648565712062504
The ics doesn't seem to include any timezone info and gives dates and times in UTC. I don't understand how iCalendar got it right.
I edited syntax.php adding in a line (giving some surrounding code for context)
if ($local) {
$dto = new DateTime($full);
}
}
$dto = new DateTime($full, new DateTimeZone('UTC')); // added this line
$dt['timestamp'] = $dto->getTimestamp();
} catch (Exception $eDate) {
// invalid date or time
$dt['timestamp'] = '';
$dt['datestring'] = '';
$dt['timestring'] = '';
continue;
}
I think I've bypassed the proper timezone code but it works for now.
from dokuwiki-plugin-icalevents.
It was indeed a bug. The iCalendar file indicates UTC properly. (It just does not contain a time zone identifier but UTC is indicated by the trailing Z
after the date time.)
Can you test the latest revision?
from dokuwiki-plugin-icalevents.
i think Z
with no value exactly indicates UTC. ISO-8601 standard indicates that.
from dokuwiki-plugin-icalevents.
Yes yes. It's just awkward that iCalcreator doesn't translate it. Also, I thought I had testes UTC events. Anyways, should be fixed now.
Am 24. September 2016 18:18:48 MESZ, schrieb "Elan Ruusamäe" [email protected]:
i think
Z
with no value exactly indicates UTC.
ISO-8601 standard indicates
that.You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#8 (comment)
from dokuwiki-plugin-icalevents.
All good here. Thanks!
from dokuwiki-plugin-icalevents.
Related Issues (20)
- Set PHP locale to current language when dealing with the dates HOT 4
- Consider recurrent events HOT 2
- Broken link to `lib/plugins/icalevents/ics.png` when using Doku's internal "Nice URL" engine HOT 5
- Version 2017-04-16 is not working with PHP 5.6.30-0+deb8u1, needs php 7 HOT 3
- 500 when using "from" and "to" args HOT 3
- Consider status:cancelled HOT 4
- Support for filter according to status of event HOT 3
- summary_link not working with Cyrillic symbols HOT 2
- Way to group events by day
- Just doesn't work at all HOT 5
- Sabre declared twice when using davcal HOT 7
- iCalEvents and Bootstrap3 issue HOT 8
- Feature - Locale settings HOT 2
- Time zone is not correctly exported
- URL in the description section are not recognised by icalevents when importing from google calendar HOT 1
- category evaluation
- Maintainer needed HOT 5
- dformat support lost HOT 7
- Examples in documentation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokuwiki-plugin-icalevents.