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
🚀
Yii3 is now available!
Yii Framework Wiki
Write
new article
Categories
All
Tips
379
How-tos
516
Tutorials
321
FAQs
72
Others
72
Popular Tags
All
yii2
95
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
Sulselbar2
on
Building Modern SPAs with Yii2 and Inertia.js
7 hours ago
Sulselbar2
on
Building Modern SPAs with Yii2 and Inertia.js
7 hours ago
AftabHussainSharSukkur
on
Convert JSON data to html table for display on page
a month ago
liam255
on
Aadhar Number Validator
5 months ago
Jesus Carrasco
on
Simple way to implement Dynamic Tabular Inputs
5 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:
106 455 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:
15 years ago
Update Article
Revert to #2
|
Revert to #3
Revisions
View all history
15 years ago
by
Russell England
changed title to be more reflective
15 years ago
by
Russell England
spelling mistake