Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.12 #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 9, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/golang-module/carbon/v2 v2.2.8 -> v2.3.12 age adoption passing confidence

Release Notes

golang-module/carbon (github.com/golang-module/carbon/v2)

v2.3.12

Compare Source

  • Add bulgarian language support, translated by yuksbg #​234
  • Restore Datetime, Date, Time,Timestamp and other structures
  • Restore ToDateTimeStruct, ToDateStruct, ToTimeStruct,ToTimestampStruct and other methods

v2.3.10

Compare Source

  • Fixed bug when json.Unmarshaler decoded a json string containing null value
  • Add ISO8601ZuluLayout,ISO8601ZuluMilliLayout,ISO8601ZuluMicroLayout,ISO8601ZuluNanoLayout constants
  • Add FormattedDateLayout,FormattedDayDateLayout constants
  • Add ISO8601ZuluFormat,ISO8601ZuluMilliFormat,ISO8601ZuluMicroFormat,ISO8601ZuluNanoFormat constants
  • Add FormattedDateFormat,FormattedDayDateFormat constants
  • Add ToIso8601ZuluString,ToIso8601ZuluMilliString,ToIso8601ZuluMicroString,ToIso8601ZuluNanoString methods
  • Add ToFormattedDateString,ToFormattedDayDateString methods
  • Add GoString method
  • Support json strings containing null when using json.Unmarshaler #​225
  • Remove deprecatedToFormatString method, use Format method instead
  • Remove deprecated ToLayoutString method, use Layout method instead

v2.3.9

Compare Source

  • Add DiffInDuration and DiffAbsInDuration methods
  • Add package comment for calendar/persian
  • Simplified code in calendar.go and constellation.go
  • Unified Unit Testing Method Naming Format

v2.3.8

Compare Source

  • Add support for Persian(Jalaali) Calendar #​197
  • Add support for Polish language
  • Add W3cLayout const in carbon.go file
  • Add StdTime method to replace ToStdTime method, ToStdTime method will be deprecated in the future
  • Fix ToJulian method in calendar/julian.go file

v2.3.7

Compare Source

  • Support julian day and modified julian day #​197
  • Fix overflow int in windows386 #​219
  • Remove lunar DoubleHour, IsXXXDoubleHour methods

v2.3.6

Compare Source

  • Extract the calendar as an independent sub package
  • Add CreateFromLunar method, create a Carbon instance from Lunar date and time
  • Fix concurrent map read and map write in ToMonthString, ToShortMonthString,ToWeekString, ToShortWeekString, Season , Constellation methods #​180
  • Improve unit and benchmark test coverage

v2.3.5

Compare Source

  • Default struct add Locale field for setting the global local language
  • Add timezone constants
  • Add IsAM, IsPM methods
  • Add Max, Min methods
  • Optimize LoadTag method and replace strings.Contains with strings.HasPrefix
  • Improve unit and benchmark test coverage

v2.3.4

Compare Source

  • Add Default struct and SetDefault method for setting global default values #​215
  • Move SetLanguage method from setter.go to language.go
  • SetLocale and SetResources methods return *Language
  • Improve unit and benchmark coverage

v2.3.3

Compare Source

  • Add Hindi language support
  • Add Vietnamese language support
  • Optimize code
  • carbon:"xxx" -> carbon:"type:xxx"

v2.3.2

Compare Source

  • Add optional timezone parameter in CreateFromStdTime method
  • Add tag embedded struct in Carbon struct
  • Add India constant in timezone constants
  • Optimize LoadTag and parseTag method
  • Set to Local timezone by default in database function func (c *Carbon) Scan(v interface{})
  • Improve benchmark testing coverage

v2.3.1

Compare Source

  • Fix testNow is 0 when setting test now in Now method
  • Add benchmark test files xxx_bench_test.go
  • Add format constants, such as DateTimeFormat, DateFormat, TimeFormat, AtomFormat, ANSICFormat ...
  • Add support carbon tag of struct carbon type field for datetime, date, time, iso8601 and other strings in LoadTag method
  • Add support tz tag of struct carbon type field in loadTag function, use to set timezone #​207
  • Add support for U, V, X, Z formatting symbols in ParseByLayout method #​206
  • Add support for v, u, x formatting symbols in ToFormatString or Format method
  • Rename ClearTestNow method to UnSetTestNow
  • Rename HasTestNow method to IsSetTestNow
  • Rename xxx_test.go file to xxx_unit_test.go
  • Rename json.go file to encoding.go, json_test.go file to encoding_unit_test.go
  • Move Closest and Farthest methods from traveler.go to extremum.go, traveler_test.go to extremum_unit_test.go
  • ⚠️Change receiver type from struct to pointer in SetTestNow method

v2.3.0

Compare Source

  • Fix error in DiffInMonths method
  • Add LoadTag method, use carbon and tz tags for Marshal and Unmarshal
  • Rename ToANSICString method to ToAnsicString
  • Set nanoseconds default to 0 in CreateFromDateTime method
  • Set hours, minutes and seconds default to 0 in CreateFromDate method #​205
  • Output different formats according to different tags in String method
  • Move GormDataType method from json.go to database.go
  • ⚠️ Remove the deprecated FromStdTime, Time2Carbon, Carbon2Time methods
  • ⚠️ Remove DateTime,DateTime, DateTimeMilli, DateTimeMicro, DateTimeMicro, DateTimeNano, Date, DateMilli, DateMicro , DateNano, Timestamp, TimestampMilli, TimestampMicro, TimestampNano structs and related methods

v2.2.14

Compare Source

  • Fix ToWeekString and ToShortWeekStringmethods ignores SetWeekStartsAt #​200
  • Add more supported formats for Parse method #​202
  • Change timezone[len(timezone)-1] to timezone[0]
  • Increase unit testing coverage for Fastest method

v2.2.13

Compare Source

  • Fix translation error in lang/fr.json and lang/jp.json files
  • Fix bug in IsZero method #​194
  • Add IsDST method
  • Add Closest and Farthest methods
  • Rename from modifier.go to boundary.go, modifier_test.go to boundary_test.go

v2.2.12

Compare Source

  • Remove print Info in IsNow method #​193
  • Add Dutch language support #​191
  • Add index to test case in test file

v2.2.11

Compare Source

  • Add judgment when setting the testing now time

v2.2.10

Compare Source

  • Recovery type such as DateTime, DateTimeXXX,Date, DateXXX struct

v2.2.9

Compare Source

  • Fix Age method calculation error #​184
  • Fix ukrainian translation error #​185
  • Change type such as DateTime, DateTimeXXX struct

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from b6b05f9 to c5e7b08 Compare October 10, 2023 04:21
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.9 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.10 Oct 10, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from c5e7b08 to 8262f86 Compare October 16, 2023 09:55
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.10 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 Oct 16, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 - autoclosed Oct 23, 2023
@renovate renovate bot closed this Oct 23, 2023
@renovate renovate bot deleted the renovate/github.com-golang-module-carbon-v2-2.x branch October 23, 2023 09:47
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 - autoclosed fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 Oct 23, 2023
@renovate renovate bot reopened this Oct 23, 2023
@renovate renovate bot restored the renovate/github.com-golang-module-carbon-v2-2.x branch October 23, 2023 14:09
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.12 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch 2 times, most recently from 6d32707 to 33a09d1 Compare November 7, 2023 09:42
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.12 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.13 Nov 7, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 33a09d1 to 22ef254 Compare December 1, 2023 01:38
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.13 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.14 Dec 1, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 22ef254 to fdd7d71 Compare December 25, 2023 03:12
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.14 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.0 Dec 25, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from fdd7d71 to 8894301 Compare December 28, 2023 10:03
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.0 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.1 Dec 28, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 8894301 to 24b06eb Compare January 2, 2024 16:15
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.1 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.2 Jan 2, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 24b06eb to 84c90bc Compare January 3, 2024 20:07
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.2 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.3 Jan 3, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 84c90bc to 00e1917 Compare January 7, 2024 15:22
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.3 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.4 Jan 7, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 00e1917 to 496d22c Compare January 12, 2024 04:57
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.4 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.5 Jan 12, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.5 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.6 Jan 22, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 496d22c to aad047f Compare January 22, 2024 11:32
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from aad047f to ca5e5f5 Compare January 26, 2024 05:44
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.6 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.7 Jan 26, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from ca5e5f5 to 0130b9c Compare February 2, 2024 11:19
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.7 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.8 Feb 2, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.8 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.9 Feb 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 0130b9c to 0a69dd6 Compare February 20, 2024 04:50
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.9 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.10 Mar 5, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 0a69dd6 to 6c24494 Compare March 5, 2024 15:37
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 6c24494 to fb75546 Compare April 18, 2024 14:10
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.10 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.12 Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants