@@ -119,8 +119,7 @@ static char *_yconv(int, int, bool, bool, char *, const char *);
119
119
120
120
121
121
size_t
122
- pg_strftime (char * s , size_t maxsize , const char * format ,
123
- const struct pg_tm * t )
122
+ pg_strftime (char * s , size_t maxsize , const char * format , const struct pg_tm * t )
124
123
{
125
124
char * p ;
126
125
enum warn warn = IN_NONE ;
@@ -228,9 +227,9 @@ _fmt(const char *format, const struct pg_tm *t, char *pt,
228
227
case 'k' :
229
228
230
229
/*
231
- * This used to be... _conv(t->tm_hour % 12 ? t->tm_hour
232
- * % 12 : 12, 2, ' '); ...and has been changed to the
233
- * below to match SunOS 4.1.1 and Arnold Robbins' strftime
230
+ * This used to be... _conv(t->tm_hour % 12 ? t->tm_hour %
231
+ * 12 : 12, 2, ' '); ...and has been changed to the below
232
+ * to match SunOS 4.1.1 and Arnold Robbins' strftime
234
233
* version 3.0. That is, "%k" and "%l" have been swapped.
235
234
* (ado, 1993-05-24)
236
235
*/
@@ -248,7 +247,7 @@ _fmt(const char *format, const struct pg_tm *t, char *pt,
248
247
case 'l' :
249
248
250
249
/*
251
- * This used to be... _conv(t->tm_hour, 2, ' '); ...and
250
+ * This used to be... _conv(t->tm_hour, 2, ' '); ...and
252
251
* has been changed to the below to match SunOS 4.1.1 and
253
252
* Arnold Robbin's strftime version 3.0. That is, "%k" and
254
253
* "%l" have been swapped. (ado, 1993-05-24)
@@ -312,7 +311,7 @@ _fmt(const char *format, const struct pg_tm *t, char *pt,
312
311
* (01-53)."
313
312
* (ado, 1993-05-24)
314
313
*
315
- * From <http ://www.ft.uni-erlangen.de/~mskuhn /iso-time.html> by Markus Kuhn:
314
+ * From <https ://www.cl.cam.ac.uk/~mgk25 /iso-time.html> by Markus Kuhn:
316
315
* "Week 01 of a year is per definition the first week which has the
317
316
* Thursday in this year, which is equivalent to the week which contains
318
317
* the fourth day of January. In other words, the first week of a new year
@@ -482,7 +481,7 @@ _fmt(const char *format, const struct pg_tm *t, char *pt,
482
481
483
482
/*
484
483
* X311J/88-090 (4.12.3.5): if conversion char is
485
- * undefined, behavior is undefined. Print out the
484
+ * undefined, behavior is undefined. Print out the
486
485
* character itself as printf(3) also does.
487
486
*/
488
487
default :
0 commit comments