opencafe / datium Goto Github PK
View Code? Open in Web Editor NEW:alarm_clock: The flexible DataTime Package written in PHP
Home Page: http://opencafe.github.io/datium
License: BSD 3-Clause "New" or "Revised" License
:alarm_clock: The flexible DataTime Package written in PHP
Home Page: http://opencafe.github.io/datium
License: BSD 3-Clause "New" or "Revised" License
Datium.php:112
Convert.php:73
DayOf.php:29
Include process return error: "This script is only accessible from localhost." because symfony tries include 'web/config.php' file.
>>> Datium::create(2017,12,02)->to('jalali')->get();
=> "1396-09-11 00:00:00"
>>> Datium::create(1396, 9, 11)->from('jalali')->get();
=> "2017-12-01 00:00:00" // Expected : 2017-12-02 00:00:00" <------ one day diffrent
>>> Datium::create(2017,12,02)->to('hijri')->get();
=> "1439-03-12 00:00:00"
>>> Datium::create(1439,03,12)->from('hijri')->get();
=> "2017-12-01 00:00:00" // Expected : 2017-12-02 00:00:00" <------ one day diffrent
please add method to get last day of month.
Add julian calendar support
Just see the output:
Datium::create(1398, 6, 31, 23, 59, 59)->from('jalali')->get();
// "2019-09-23 23:59:59"
Datium::create(1398, 6, 30, 23, 59, 59)->from('jalali')->get();
// "2019-09-21 23:59:59"
how is this even possible? what ever happened to 22nd?!
Create new events for google calendar
Get event lists for google calendar
remove and update events for google calendar
Default timezone is setted to Asia/Tehran by default, and there is no way to set default timezone in code, and only way is config file, which is not accessible throw the composer usage.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.