Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
5479eb3
making a start at creating to_rata_die and from_rata_die callbacks + …
Qqwy Mar 5, 2017
b7d3b40
make compileable.
Qqwy Mar 5, 2017
967b1b2
struggling with leap days.
Qqwy Mar 5, 2017
19f4ec3
working...
Qqwy Mar 5, 2017
52e9f85
Documentation and specs.
Qqwy Mar 5, 2017
dd98af5
fix tests.
Qqwy Mar 5, 2017
c19fa9a
Add a day fraction format for times.
Qqwy Mar 5, 2017
43b7330
fix tests for day fractions.
Qqwy Mar 5, 2017
6998c9c
apply UTC and STD offsets in Calendar.ISO.datetime_to_rata_die
Qqwy Mar 5, 2017
4523ada
Writing DateTime.compare and DateTime.diff
Qqwy Mar 5, 2017
8ecc481
fixes in the NaiveDateTime comparison.
Qqwy Mar 5, 2017
4d3969c
remove compare and diff for NaiveDateTimes, as it does not make sense.
Qqwy Mar 5, 2017
a5ad3a7
remove TODOs
Qqwy Mar 5, 2017
ed7a579
Implement feedback from @alisinabh and @josevalim.
Qqwy Mar 6, 2017
39d1586
- fixes the Calendar behaviour callbacks to use tuples instead of maps.
Qqwy Mar 8, 2017
026dd84
working on fixing tests to follow new format.
Qqwy Mar 9, 2017
0f85938
alter DateTime.compare and DateTime.diff to use new format.
Qqwy Mar 9, 2017
5cb37ba
fix tests.
Qqwy Mar 9, 2017
44355b1
Fixes DateTime.compare and DateTime.diff to reduce duplication and ne…
Qqwy Mar 10, 2017
15f9ac3
DateTime.convert/2
Qqwy Mar 12, 2017
f220703
Allows to use different calendars for:
Qqwy Mar 12, 2017
09a1d17
fix syntax errors.
Qqwy Mar 12, 2017
a311152
Merge branch 'master' into calendar_rata_die
Qqwy Mar 12, 2017
f008db7
adding `:calendar` field to %Time{} and ensure functions that create …
Qqwy Mar 12, 2017
f80db9c
rest of Time `to_*` and `from_*`-functions.
Qqwy Mar 12, 2017
01b8754
two small comments by @josevalim.
Qqwy Mar 12, 2017
dbbeb3b
adding `valid_*?` functions to the Calendar behaviour and the Calenda…
Qqwy Mar 12, 2017
befed9a
use valid_time? when creating new times.
Qqwy Mar 12, 2017
415da8a
fix proper checking of created times.
Qqwy Mar 12, 2017
a88519f
Merge branch 'master' into calendar_rata_die
Qqwy Mar 12, 2017
86a7565
day rollover callback.
Qqwy Mar 12, 2017
85abcb3
Add calendar-dispatching and conversions to Date.
Qqwy Mar 12, 2017
7b5cc28
fix mistake in Date module.
Qqwy Mar 12, 2017
fcbbda3
fix IEx test to allow new `calendar:` field in Time struct.
Qqwy Mar 12, 2017
25591bd
Change to_* and from_* for NaiveDateTime to allow calendar arguments.
Qqwy Mar 12, 2017
3852a8c
Merge branch 'master' into calendar_rata_die
Qqwy Mar 13, 2017
8815d6e
Renaming callbacks in Calendar, and making time zone info a concern o…
Qqwy Mar 13, 2017
871476c
First part of implementing @josevalim's suggested changes.
Qqwy Mar 15, 2017
9747ede
alter unused variables to _.
Qqwy Mar 15, 2017
c74bd32
merge heads of 'apply_t_offset/2'
Qqwy Mar 15, 2017
1cbc996
fixing utc_now/1 and utc_today/1 function implementations to work wit…
Qqwy Mar 15, 2017
69f1b0c
using the `:calendar`-module for the Rata Die calculations.
Qqwy Mar 15, 2017
558afce
Removes integer clause of microsecond in valid?time/4
Qqwy Mar 15, 2017
338880c
Merge branch 'calendar_rata_die_calmod' into calendar_rata_die
Qqwy Mar 16, 2017
0330911
use :calendar for Calendar.ISO's implementation.
Qqwy Mar 16, 2017
0beb5c3
Second pass of @josevalim's feedback. Calendar.ISO updated.
Qqwy Mar 16, 2017
ef93013
Second part of implementing the second pass of @josevalim's feedback.
Qqwy Mar 16, 2017
e3b601e
Specialized efficient clause for Calendar.ISO for utc_today and utc_now.
Qqwy Mar 18, 2017
ce3a9c0
Fix conversion problem in Date.to_rata_die.
Qqwy Mar 18, 2017
4cd3515
Adding Calendar.Julian as test calendar. Also:
Qqwy Mar 18, 2017
4eb2b28
slightly improving the Julian calendar implementation.
Qqwy Mar 18, 2017
f95a65c
NaiveDateTime.convert/2 tests.
Qqwy Mar 18, 2017
4a655f4
Implement new feedback round changes,
Qqwy Mar 19, 2017
c1224df
Fix NaiveDateTime.diff/2 and NaiveDateTime.add/2 to work with other c…
Qqwy Mar 19, 2017
adbe53a
Deprecation warnings and proper function heads for Date.to_erl, Time.…
Qqwy Mar 20, 2017
6c52c77
fill in the deprecations in the pages/Deprecations.md table.
Qqwy Mar 20, 2017
73c4142
Fixes spec and implementation of Date.diff/2
Qqwy Mar 20, 2017
011a952
Alter Time.diff/2 to use the Calendar.ISO time units instead.
Qqwy Mar 20, 2017
bc054b5
Alter DateTime.diff/2 to work like NaiveDateTime.diff/2
Qqwy Mar 20, 2017
b59e83f
revert changes to the CHANGELOG
Qqwy Mar 20, 2017
be8bb2f
Alter Date.utc_today to work with date+time of utc_now.
Qqwy Mar 22, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading