{"repo":"Code-Hex/synchro","free":true,"listed":false,"github":"https://github.com/Code-Hex/synchro","clone":"git clone https://github.com/Code-Hex/synchro.git","description":"🕰️ Synchro: Timezone-typesafe date and time framework for Go. 🌟 Star to support our work!","language":"Go","stars":276,"topics":["calendar","date","datetime","go","golang","time","timezone","iso8601"],"license":"MIT","category":"productivity","readme_excerpt":"🕰️ Synchro: Timezone-typesafe date and time framework for Go This is inspired by Rust chrono Features - Timezone-typesafe date and time handling - Easy conversion between time zones - Support for common date and time operations - Compatible with the standard time package - Full compatible with ISO8601 (GoDoc) - ✅ Dates - Years - Calendar dates - Week dates - Quarter dates - Ordinal dates - ✅ Times - ✅ Combined date and time representations - ✅ Durations - ✅ Time intervals - Repeating intervals - Note: This package can be used as civil time. - Civil time is a time-zone-independent representation of time that follows the rules of the proleptic Gregorian calendar with exactly 24-hour days, 60-minute hours, and 60-second minutes. Installation To install Synchro, use go get : go get github.com/Code-Hex/synchro Synopsis To use Synchro, import it in your Go code: https://go.dev/play/p/Ql3CM7NLfj0 Please refer to the numerous usage examples on GoDoc for reference. Utilities We also have a wide range of very useful utilities!! If you have a feature request, please open an issue. It would be great if you could provide relevant examples or links that could be helpful. - In - ConvertTz - NowContext - Quarter - Semester - StartOfMonth - EndOfMonth - StartOfQuarter - EndOfQuarter - StartOfSemester - EndOfSemester - StartOfWeek - EndOfWeek - StartOfYear - EndOfYear - IsBetween - IsLeapYear - DiffInCalendarDays - Change - Change allows you to specify the date and time components you want to","default_branch":null,"files":null,"tree":[],"storefront":"/r/Code-Hex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Code-Hex/synchro/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}