Commit graph

759 commits

Author SHA1 Message Date
ee51f187b3
feat(tests): fix superuser command syntax 2023-09-08 13:26:07 +05:30
be6b3f46fb
chore(tests): fix failing test by writing to locale.gen and generating locales 2023-09-08 12:17:11 +05:30
36f2c6e0f6
chore(tests): local formatTime locale test better assert error 2023-09-08 01:24:13 +05:30
a5efedcaad
chore(tests): include local formatTime test with custom locale 2023-09-08 01:00:12 +05:30
829494e304
feat: finalized docs, lmk if i missed something 2023-09-07 19:39:14 +05:30
37c8a6f9ce
chore(tests): use fromIsoDate in toUniversalTime test 2023-09-07 15:40:29 +05:30
6ddaecb0ba
chore(tests): fix toUniversalTime test 2023-09-07 15:37:10 +05:30
ac948b22d9
chore(tests): remove note comments 2023-09-07 15:19:53 +05:30
aa73a4b72e
fix: fromUniversalTime & fromLocalTime 2023-09-07 14:37:46 +05:30
87e579ad1a
feat: make complete switch to published chrono_lc crate 2023-09-06 13:30:46 +05:30
2ca9615441
feat(types): datetime -> DateTime & fix typing 2023-09-06 13:23:40 +05:30
eb642473e3
chore(tests): updated test suite 2023-09-06 13:17:36 +05:30
72f136f1d3
chore(crate): use published chrono locale crate 2023-09-06 13:15:06 +05:30
f0bbdfdde6
chore: bump chrono to 0.4.28 to possibly fix month enum mapping 2023-09-04 20:16:27 +05:30
4f2a008ccd
fix: remove unused Lazy import 2023-09-04 13:04:56 +05:30
e7799cc1c3
refactor: proper error handling w/o panics 2023-09-04 12:58:30 +05:30
d9eca85ac2
refactor: use String instead of LuaString 2023-09-04 12:31:04 +05:30
1d83af9299
refactor: remove declaration of self consuming methods in exports
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-09-04 12:29:28 +05:30
a43c324591
refactor: remove declaration of self consuming methods in exports
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-09-04 12:29:06 +05:30
91da9b8f4d
refactor: remove declaration of self consuming methods in exports
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-09-04 12:28:42 +05:30
f52aa2d87d
refactor: remove luau setters for fields in DateTime
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-09-04 12:26:50 +05:30
e161ce3da0
refactor: remove declaration of self consuming methods in exports
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-09-04 12:25:16 +05:30
0561b8eea7
refactor: object declaration syntax in test
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
2023-09-04 12:24:26 +05:30
2b46958007
refactor: implement requested changes 2023-09-04 12:23:18 +05:30
09063e2279
Merge branch 'main' into feature/datetime 2023-08-29 15:32:42 +05:30
Filip Tibell
3967c1ecbb
Add release publishing instructions to contributing doc 2023-08-28 12:05:40 -05:00
Filip Tibell
1e6660ab9b
Add contributing guidelines 2023-08-28 11:53:01 -05:00
c3e456f0ef
chore(tests): finalize and implement missing tests 2023-08-28 17:07:49 +05:30
e4a65e301b
feat: proper error handling & error propagation 2023-08-28 15:58:11 +05:30
6b4000d253
Merge branch 'feature/datetime' of https://github.com/0x5eal/lune-datetime into feature/datetime 2023-08-28 00:44:42 +05:30
a78ed4e122
fix: DateTime::from_iso_date
DateTimeBuilder.to_string had a faulty template str for the ISO 8601
DateTime parsing.
2023-08-28 00:37:57 +05:30
1219f65ac7
Merge branch 'main' into feature/datetime 2023-08-27 19:18:27 +05:30
4768134e6f
chore(docs): add more docs for luau typing 2023-08-27 13:05:44 +05:30
28b16b3e05
chore(tests): include tests for DateTime library 2023-08-27 12:46:27 +05:30
c46ae61d34
feat: include types for @lune/datetime 2023-08-27 12:46:00 +05:30
a7833bbba9
fix: fromUnixTimestamp conversion bug 2023-08-27 12:21:43 +05:30
Filip Tibell
37d6f1de2d
Fix argument casing in typedefs 2023-08-26 16:22:49 -05:00
dd1c43c494
refactor: breakup datetime into multiple modules 2023-08-26 21:06:44 +05:30
6943ed0755
feat: finish luau side implementation
This commit finishes the DateTime implementation for the luau side
library. It includes the following methods:
* fromLocalTime
* toLocalTime
2023-08-26 20:44:06 +05:30
574bc16a1b
feat: implement luau side for more functions
The following was implemented:
* trait FromLua for DateTimeBuilder
* trait UserDate for DateTimeBuilder
* toUniversalTime
* fromUniversalTime
2023-08-26 18:54:47 +05:30
83eeb77a6a
feat: replace enums with floats for timestamps in millis 2023-08-26 15:44:07 +05:30
eee7a671a1
merge: origin/main -> feature/datetime 2023-08-25 21:49:52 +05:30
c11c05981a
feat: export most of the DateTime functionality to luau 2023-08-25 21:44:00 +05:30
Filip Tibell
a120963451
Update tools 2023-08-25 09:02:00 -05:00
Filip Tibell
ccabfa335a
Make luau happy in test file 2023-08-25 08:16:53 -05:00
Filip Tibell
75549a0b1c
Update changelog 2023-08-24 19:17:35 -05:00
Filip Tibell
a3feece9d4
Add back variadic CFrame methods 2023-08-24 19:13:56 -05:00
Filip Tibell
066df67ffa
Update dependencies 2023-08-24 19:09:35 -05:00
Filip Tibell
b79d3ce4e2
Make clippy happy 2023-08-24 19:09:05 -05:00
Kenneth Loeffler
bcfc7d2f55
Implement Terrain:GetMaterialColor and Terrain:SetMaterialColor (#93) 2023-08-24 18:39:13 -05:00