Commit 9901d8a
committed
Use strftime("%c") to format timestamps in psql's \watch command.
This allows the timestamps to follow local conventions (in particular,
they respond to the LC_TIME environment setting). In C locale you get
the same results as before. It seems like a good idea to do this now not
later because we already changed the format of \watch headers for 9.6.
Also, increase the buffer sizes a tad to ensure there's enough space for
translated strings.
Discussion: <20160612145532.GA22965@postgresql.kr>1 parent 12f8620 commit 9901d8a
1 file changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3066 | 3066 | | |
3067 | 3067 | | |
3068 | 3068 | | |
| 3069 | + | |
3069 | 3070 | | |
3070 | 3071 | | |
3071 | 3072 | | |
| |||
3077 | 3078 | | |
3078 | 3079 | | |
3079 | 3080 | | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
3080 | 3088 | | |
3081 | 3089 | | |
3082 | 3090 | | |
| |||
3085 | 3093 | | |
3086 | 3094 | | |
3087 | 3095 | | |
3088 | | - | |
| 3096 | + | |
| 3097 | + | |
3089 | 3098 | | |
3090 | 3099 | | |
3091 | | - | |
| 3100 | + | |
3092 | 3101 | | |
3093 | 3102 | | |
3094 | 3103 | | |
3095 | 3104 | | |
3096 | 3105 | | |
3097 | | - | |
| 3106 | + | |
3098 | 3107 | | |
3099 | 3108 | | |
3100 | 3109 | | |
| |||
3103 | 3112 | | |
3104 | 3113 | | |
3105 | 3114 | | |
3106 | | - | |
3107 | | - | |
3108 | | - | |
3109 | | - | |
3110 | | - | |
| 3115 | + | |
3111 | 3116 | | |
3112 | 3117 | | |
3113 | 3118 | | |
3114 | | - | |
| 3119 | + | |
3115 | 3120 | | |
3116 | 3121 | | |
3117 | | - | |
| 3122 | + | |
3118 | 3123 | | |
3119 | 3124 | | |
3120 | 3125 | | |
| |||
0 commit comments