| ... | ... | @@ -234,6 +234,8 @@ pub const DateTime = struct { |
| 234 | 234 | .Mo => try printOrdinal(writer, self.months + 1), |
| 235 | 235 | .MMM => try printLongName(writer, self.months, &[_]string{ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }), |
| 236 | 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}), |
| 238 | .Qo => try printOrdinal(writer, self.months / 3 + 1), |
| 237 | 239 | |
| 238 | 240 | else => @compileError("'" ++ @tagName(tag) ++ "' not currently supported"), |
| 239 | 241 | } |