Wiki articles in category How-tos tagged with "i18n"

Showing 1-2 of 2 items.
Created 7 months ago by CeBe, updated 7 months ago by CeBe.

Getting information from the current locale

Yii 2.0 comes with a formatter component to format dates, numbers, and other values for international users according to their locale. This is very useful for displaying data. When working with incoming data or when using enhanced input methods like the [MaskedInput widget](

5 0
Viewed: 4 088 times
Version: 2.0
Category: How-tos
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Save and Display Date/Time Fields in different formats in Yii2

You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

0 0
Viewed: 139 124 times
Version: 2.0
Category: How-tos