Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2017-05-24
2017-05-24 08:37:43 by Jonas Walldén <jonasw@roxen.com>
2895373319bd1c994b8491adfa3be40ee2a33e3d (
4
lines) (+
4
/-
0
)
[
Show
|
Annotate
]
Branch:
7.0
Add %q to strftime for output of quarter number (1-4).
2749:
case 'P': // am or pm res += lt->hour<12 ? "am" : "pm"; break;
+
case 'q': // Quarter number [1,4] (Roxen-specific)
+
res += (string) ((lt->mon / 3) + 1);
+
break;
case 'r': // Time in 12-hour clock format with %p res += strftime("%I:%M:%S %p", t); break;