Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RTClib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ bool DateTime::operator==(const DateTime &right) const {
*/
/**************************************************************************/
String DateTime::timestamp(timestampOpt opt) {
char buffer[20];
char buffer[25]; // large enough for any DateTime, including invalid ones

// Generate timestamp according to opt
switch (opt) {
Expand Down