Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
Yii Framework Wiki
Write
new article
Categories
All
Tips
342
How-tos
445
Tutorials
288
FAQs
45
Others
56
Popular Tags
All
yii2
90
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
Kamil PomykaĆa
on
JWT authentication tutorial
2 months ago
JQL
on
How to add a DropDown Language Picker (i18n) to the Menu
3 months ago
JQL
on
How to add a DropDown Language Picker (i18n) to the Menu
3 months ago
krishuk
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
4 months ago
apalanca
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
9 months ago
Difference between #
2
and #
3
of
Local time zones and locales
Changes
Title
changed
Local time
zones and locale
s
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
i18n, date, time, timezone, locale
Content
unchanged
[...]
return $v==='am' || $v==='pm' ? $v : false;
}
}
```
13
2
23
followers
Viewed:
99 577 times
Version:
1.1
Category:
How-tos
Tags:
date
,
i18n
,
locale
,
time
,
timezone
Written by:
Russell England
Last updated by:
Russell England
Created on:
May 24, 2011
Last updated:
12 years ago
Update Article
Revert to #2
|
Revert to #3
Revisions
View all history
12 years ago
by
Russell England
changed title to be more reflective
12 years ago
by
Russell England
spelling mistake