| ... | @@ -236,6 +236,9 @@ pub const DateTime = struct { | ... | @@ -236,6 +236,9 @@ pub const DateTime = struct { |
| 236 | .MMMM => try printLongName(writer, self.months, &[_]string{ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }), | 236 | .MMMM => try printLongName(writer, self.months, &[_]string{ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }), |
| 237 | .Q => try writer.print("{}", .{self.months / 3 + 1}), | 237 | .Q => try writer.print("{}", .{self.months / 3 + 1}), |
| 238 | .Qo => try printOrdinal(writer, self.months / 3 + 1), | 238 | .Qo => try printOrdinal(writer, self.months / 3 + 1), |
| | 239 | .D => try writer.print("{}", .{self.days + 1}), |
| | 240 | .Do => try printOrdinal(writer, self.days + 1), |
| | 241 | .DDD => try writer.print("{}", .{self.dayOfThisYear() + 1}), |
| 239 | | 242 | |
| 240 | else => @compileError("'" ++ @tagName(tag) ++ "' not currently supported"), | 243 | else => @compileError("'" ++ @tagName(tag) ++ "' not currently supported"), |
| 241 | } | 244 | } |