Skip to content

Releases: whitecube/laravel-timezones

v1.2.2

26 Jul 10:47
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.1...v1.2.2

v1.2.1

09 Apr 09:22
Compare
Choose a tag to compare

What's new:

  • Added Macroable trait to the Timezone class. Thanks @lairg99!
  • Allow CarbonImmutable instances in the package's DatetimeParser. Thanks @giorgiopogliani!
  • Fixed tests

v1.2.0 (Laravel 11)

13 Mar 13:01
8d34a93
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0

Custom formats & default timestamps casting

28 Apr 15:33
3932f12
Compare
Choose a tag to compare

What's Changed

  • Fixed & documented casting of default timestamp attributes (e.g. created_at & updated_at) by @voidgraphics in #5

Full Changelog: v1.0.7...v1.1.0

Fixed models serialization

12 Apr 09:09
279f13f
Compare
Choose a tag to compare

Bug fixes:

  • Models that had a TimezonedDatetime cast on their timstamp columns would cause errors when serialized #4

Laravel 10

16 Feb 08:59
e8d6336
Compare
Choose a tag to compare
Merge pull request #3 from whitecube/laravel-10

Laravel 10

v1.0.5

01 Jan 18:10
a82d0b6
Compare
Choose a tag to compare
  • Fixed zero value casting (for instance when casting from/to the H format). Thanks @mohammedmanssour !
  • Fixed typo in README. Thanks @erjanmx !

v1.0.4

15 Dec 11:51
Compare
Choose a tag to compare
Fixed immutable NULL date casting

v1.0.3

15 Dec 11:46
Compare
Choose a tag to compare
Added NULL/empty value casting

v1.0.2

15 Dec 10:49
Compare
Choose a tag to compare
Added output value tests. Added cast tests. Fixed value casting