google / google/gson

Bug Parse Date 1966-11-01

Open
#2,539 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
24.2k
Forks
4.5k
Avg merge
6d 4h
Merged PRs (30d)
12

Description

# Gson version

Version: 2.10.1

# Java / Android version

Android target sdk 33

# Used tools

- [ ] Maven; version:
- [X] Gradle; version:
- [ ] ProGuard (attach the configuration file please); version:
- [ ] ...

# Description

Failure in parse date '1966-11-01'

## Expected behavior

Failed parsing '1966-11-01' as Date; at path $.birthday
![image](https://github.com/google/gson/assets/10865241/9699fbc0-3cd5-4644-90f5-14373aa0bd00)

If it's a day's difference from success

![image](https://github.com/google/gson/assets/10865241/d9ff0169-1274-4250-a2a4-ad0f881b0ae5)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.