| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add `@(require_results)` to `core:time` | gingerBill | 2025-11-27 | 1 | -3/+46 |
| | | |||||
| * | Make `time.components_to_time` #optional_ok | Jeroen van Rijn | 2025-10-23 | 1 | -1/+1 |
| | | |||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 1 | -0/+1 |
| | | |||||
| * | Initial cut of timezones | Colin Davidson | 2024-10-09 | 1 | -2/+2 |
| | | |||||
| * | Add `time.time_to_datetime` | Feoramund | 2024-09-03 | 1 | -0/+18 |
| | | |||||
| * | Rewrite compound_to_time without using i128. | Jeroen van Rijn | 2024-08-20 | 1 | -6/+9 |
| | | |||||
| * | Fix `time.precise_clock` on 32-bit platforms. | Jeroen van Rijn | 2024-08-10 | 1 | -7/+8 |
| | | |||||
| * | Fixed time.precise_clock | Jeroen van Rijn | 2024-08-10 | 1 | -3/+38 |
| | | |||||
| * | Revert "Add time.precise_clock_from_time + time.precise_clock_from_duration" | Jeroen van Rijn | 2024-08-10 | 1 | -34/+1 |
| | | | | | This reverts commit c9ca192f33411a6be611970401897f68ae5cf7d7. | ||||
| * | Add time.precise_clock_from_time + time.precise_clock_from_duration | Jeroen van Rijn | 2024-08-10 | 1 | -1/+34 |
| | | |||||
| * | Use constants in example. | Jeroen van Rijn | 2024-07-25 | 1 | -5/+5 |
| | | |||||
| * | Improve docs. | Jeroen van Rijn | 2024-07-25 | 1 | -182/+135 |
| | | |||||
| * | Add `time.to_string*` formatters. | Jeroen van Rijn | 2024-07-25 | 1 | -0/+336 |
| | | |||||
| * | Clarify core:time Unix timestamp | Jeroen van Rijn | 2024-07-22 | 1 | -2/+3 |
| | | |||||
| * | [time]: Document all functions | flysand7 | 2024-07-20 | 1 | -8/+276 |
| | | |||||
| * | Add time.from_nanoseconds | Jeroen van Rijn | 2024-06-23 | 1 | -0/+4 |
| | | |||||
| * | Add `@(rodata)` and `@(static, rodata)` where appropriate | gingerBill | 2024-06-06 | 1 | -0/+1 |
| | | |||||
| * | Update time.odin | blob1807 | 2024-03-26 | 1 | -1/+1 |
| | | |||||
| * | Update time.odin | blob1807 | 2024-03-26 | 1 | -1/+1 |
| | | |||||
| * | Updated windows time period call | blob1807 | 2024-03-26 | 1 | -1/+2 |
| | | | | | | Updated win32.time_begin_period to windows.timeBeginPeriod Added a note about calling windows.timeEndPeriod once you don't need accurate_sleep, as per MS's docs https://learn.microsoft.com/en-us/windows/win32/api/timeapi/nf-timeapi-timebeginperiod#remarks | ||||
| * | Change Ordinal from int to i64 | Jeroen van Rijn | 2024-03-20 | 1 | -2/+5 |
| | | |||||
| * | Add WiP datetime package and tests. | Jeroen van Rijn | 2024-03-18 | 1 | -51/+23 |
| | | | | | | | | | | | | | A new package `core:time/datetime` has been added which can represent moments much further in the past and future than `core:time`. It is based on *the* reference work on the subject, Calendrical Calculations Ultimate Edition, Reingold & Dershowitz. More procedures will be added to it in the future, to for example calculate the 3rd Thursday in March to figure out holidays. The package has been tested for more than a year and can handle dates 25 quadrillion years into the past and future with 64-bit day ordinals, or 5 million with 32-bit ones. This also fixes a longstanding bug where converting between YYYY-MM:DD hh:mm:ss and `time.Time` and back could result in a mismatch. RFC 3339 timestamps can now also be parsed using the `core:time` package. | ||||
| * | Fix leap year bug | gingerBill | 2024-02-29 | 1 | -0/+8 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | Clean up usage of `using` throughout core and vendor | gingerBill | 2023-07-31 | 1 | -17/+19 |
| | | |||||
| * | fix spacing | Laytan Laats | 2023-05-06 | 1 | -2/+2 |
| | | |||||
| * | add time.weekday proc | Laytan Laats | 2023-05-05 | 1 | -0/+6 |
| | | |||||
| * | Heavily improve time handling on Windows for `time.now()` and `os.File_Info` | gingerBill | 2022-10-26 | 1 | -32/+34 |
| | | |||||
| * | Clean up `core:time` to be consistent across all platforms | gingerBill | 2022-05-12 | 1 | -13/+29 |
| | | |||||
| * | Update time.odin | Jeroen van Rijn | 2022-04-16 | 1 | -1/+6 |
| | | | | | Add caveats. | ||||
| * | time: remove unnecessary yield | hikari | 2022-04-16 | 1 | -5/+1 |
| | | |||||
| * | time: yield accurate_sleep instead of relaxing the cpu | hikari | 2022-04-16 | 1 | -2/+8 |
| | | |||||
| * | time: add accurate sleep procedure | hikari | 2022-04-16 | 1 | -0/+31 |
| | | |||||
| * | better naming conventions for stopwatch procedures + fields | Phil H | 2021-10-28 | 1 | -10/+10 |
| | | |||||
| * | Add clock overloads for Duration and Stopwatch | Phil | 2021-10-28 | 1 | -4/+19 |
| | | |||||
| * | Add a stopwatch to time.odin | Phil | 2021-10-28 | 1 | -1/+30 |
| | | |||||
| * | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -137/+137 |
| | | |||||
| * | Enforce `core:builtin` and `core:intrinsics` for imports | gingerBill | 2021-08-21 | 1 | -1/+1 |
| | | |||||
| * | datetime_to_time's ok should default to true. | Jeroen van Rijn | 2021-05-02 | 1 | -5/+4 |
| | | |||||
| * | Replace many `foreign` llvm calls with intrinsics | gingerBill | 2021-04-25 | 1 | -5/+3 |
| | | |||||
| * | Correct overflowed months. | Jeroen van Rijn | 2021-03-23 | 1 | -1/+1 |
| | | |||||
| * | Add core:datetime_to_time | Jeroen van Rijn | 2021-03-23 | 1 | -0/+44 |
| | | | | | | | datetime_to_time takes separate parameters for date and time values and returns a time.Time and an `ok` bool. If the values are out of range, they're considered modulo and ok will be set to false. | ||||
| * | Minimize unneeded casts | gingerBill | 2021-03-03 | 1 | -5/+5 |
| | | |||||
| * | Replace usage of `inline proc` with `#force_inline proc` in the core library | gingerBill | 2021-02-23 | 1 | -1/+1 |
| | | |||||
| * | Update package reflect | gingerBill | 2021-01-27 | 1 | -1/+11 |
| | | |||||
| * | Add time.Tick for performance related timings | gingerBill | 2021-01-09 | 1 | -0/+11 |
| | | |||||
| * | Add `package path/filepath`; Add `os.stat` for windows (TODO: unix) | gingerBill | 2020-09-25 | 1 | -0/+14 |
| | | |||||
| * | Remove usage of `do` in core library | gingerBill | 2020-09-23 | 1 | -8/+12 |
| | | |||||
| * | Fix #712 | gingerBill | 2020-08-26 | 1 | -2/+4 |
| | | |||||
| * | Add `time.read_cycle_counter` | gingerBill | 2020-06-22 | 1 | -0/+8 |
| | | |||||