You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Release Notes
2
2
3
+
## [v2.1.0](https://github.com/jsvibe/printfy/compare/v2.0.5...v2.1.0) - 11 September 2025
4
+
5
+
- Add new features `Date-Time` Format (e.g., `$d`, `$m`, `$y`, `$h`, `$i`, `$s`, `$A`) see all `DT`[specifiers](https://github.com/jsvibe/printfy?tab=readme-ov-file#supported-specifiers-1)
6
+
3
7
## [v2.0.5](https://github.com/jsvibe/printfy/compare/v2.0.4...v2.0.5) - 23 August 2025
4
8
5
9
- Fixed bugs likes `padding`, `width`, `precision`, `swapping` etc. to improved better than previous version [2.0.4][@indianmodassir](https://github.com/indianmodassir)
| $d | Day of the month, 2 digits with leading zeros (e.g., `01` to `31`) |
166
+
| $D | A textual representation of a day, three letters (e.g., `Mon` to `Sun`) |
167
+
| $j | Day of the month without leading zeros (e.g., `1` to `31`) |
168
+
| $l | (lowercase 'L'): A full textual representation of the day of the week (e.g., `Sunday` to `Saturday`) |
169
+
| $N | ISO-8601 numeric representation of the day of the week (e.g., `1` for `Monday` to `7` for `Sunday`) |
170
+
| $S | English ordinal suffix for the day of the month, 2 characters (e.g., `st`, `nd`, `rd`, `th`) |
171
+
| $w | Numeric representation of the day of the week (e.g., `0` for `Sunday` to `6` for `Saturday`) |
172
+
| $z | The day of the year (starting from 0) (e.g., 0 to 365) |
173
+
| $W | ISO-8601 week number of year, weeks starting on Monday (e.g., `01` to `53`) |
174
+
| $F | A full textual representation of a month (e.g., `January` to `December`) |
175
+
| $m | Numeric representation of a month, with leading zeros (e.g., `01` to `12`) |
176
+
| $M | A short textual representation of a month, three letters (e.g., `Jan` to `Dec`) |
177
+
| $n | Numeric representation of a month, without leading zeros (e.g., `1` to `12`) |
178
+
| $t | Number of days in the given month (e.g., `28` to `31`) |
179
+
| $L | Whether it's a leap year (e.g., `1` for leap year, `0` otherwise) |
180
+
| $o | ISO-8601 week-numbering year. This has the same value as Y, except that if the ISO week number (W) belongs to the previous or next year, that year is used instead (e.g., `1999` or `2003`) |
181
+
| $y | A two-digit representation of a year (e.g., 99 or 03) |
182
+
| $Y | A full numeric representation of a year, 4 digits (e.g., `1999` or `2003`) |
183
+
| $a | Lowercase am or pm |
184
+
| $A | Uppercase AM or PM |
185
+
| $g | 12-hour format of an hour without leading zeros (e.g., `1` to `12`) |
186
+
| $G | 24-hour format of an hour without leading zeros (e.g., `0` to `23`) |
187
+
| $h | 12-hour format of an hour with leading zeros (e.g., `01` to `12`) |
188
+
| $H | 24-hour format of an hour with leading zeros (e.g., `00` to `23`) |
189
+
| $i | Minutes with leading zeros (e.g., `00` to `59`) |
190
+
| $s | Seconds with leading zeros (e.g., `00` to `59`) |
191
+
| $I | (capital 'i'): Whether or not the date is in daylight saving time (e.g., `1` for DST, `0` otherwise) |
192
+
| $O | Difference to Greenwich time (GMT) in hours (e.g., `+0200`) |
193
+
| $p | Difference to Greenwich time (GMT) with colon between hours and minutes (e.g., `+05:30`, `-04:00`) |
194
+
| $t | Number of days in the given month (e.g., `28`, `29`, `30`, `31`) |
195
+
| $r | RFC 2822 formatted date (e.g., `Thu, 21 Dec 2000 16:01:07 +0200`) |
0 commit comments