Glenn Lewis
595de3d4b8
chore: Replace time.Date with referenceTime ( #4325 )
2026-06-24 15:42:55 -04:00
Oleksandr Redko
3215e0320e
test: Remove redundant Marshal tests ( #4266 )
2026-06-04 09:22:07 -04:00
Oleksandr Redko
52f9fffa6b
fix: Correct body in EnterpriseService.InitialConfig ( #3763 )
2025-10-07 07:39:58 -04:00
Glenn Lewis
4505771989
Prefer %v over %d,%s and add fmtpercentv custom linter ( #3756 )
2025-10-05 21:39:53 -04:00
Oleksandr Redko
f68f136d3c
chore: Format code with gofumpt ( #3689 )
2025-09-22 14:16:47 -04:00
Glenn Lewis
dc884c26ca
Add t.Parallel to unit tests ( #3297 )
2024-10-05 07:29:05 -04:00
6543
521fd0d1f0
Add GetTime method to Timestamp ( #2743 )
2023-04-09 15:46:19 -04:00
Brett Logan
d7115423bf
Add Support For Millisecond Timestamps ( #1850 )
...
Fixes : #1849 .
2021-04-08 08:46:53 -04:00
Mukundan Senthil
e867111a91
Fix misspelling of Timestamp
2020-12-23 10:08:35 -05:00
Oleg Kovalov
530b7c552e
Fix named consts ( #962 )
2018-08-03 21:59:44 -04:00
Dmitri Shuralyov
61bf8a6a20
Use referenceUnixTimeStr const in tests. ( #721 )
...
It's already declared and used elsewhere; no reason not to use it here.
2017-09-20 23:47:25 -04:00
Elliott Beach
ea6e70fd69
Add test for anomalous timestamp format from Projects API. ( #716 )
...
This PR adds a test case verifying that timestamp strings in the
"2006-01-02T15:04:05.000Z" format are converted properly into
github.Timestamp by JSON unmarshaling.
This is related to the minor GitHub API change described at
https://developer.github.com/changes/2017-09-01-breaking-changes-to-projects-api-preview-and-webhooks-date-format/ .
Fixes #715 .
2017-09-20 17:51:49 -04:00
Juan Basso
a27d03e799
Fixed typo and removed unused vars
...
Refs #408
2016-07-29 21:09:11 -04:00
Billy Lynch
c6d364f065
Add timestamp struct to handle different formats
...
Added a timestamp struct to handle different incoming time formats from
GitHub. Only modified the repo struct to reflect this new time struct
for now since it is currently the only location I am currently aware of
where this is an issue.
Issue: #1
2013-07-29 11:46:38 -07:00