mark_story
|
ad5345887a
|
Refactor tests.
Use generators to reduce some duplication.
|
2012-06-24 21:57:00 -04:00 |
|
mark_story
|
3f78216e96
|
Revert changes in behavior made to timeAgoInWords()
Changes made in [0729aca706 ] changed
the generated text to not match the behavior in 2.1.
|
2012-06-24 20:54:47 -04:00 |
|
ADmad
|
b2ccdd46e5
|
Fixed test failing when server's timezone is not UTC
|
2012-06-24 23:11:52 +05:30 |
|
Jelle Henkens
|
db7d5426ec
|
CakeTime no longer sets the timezone out of its scope on the date object
|
2012-06-24 11:10:55 +01:00 |
|
Jose Lorenzo Rodriguez
|
0d013f8da5
|
Fixing CakeTime, the actual params for format() is $date and $format,
and not the other way around :)
|
2012-06-09 08:28:39 -04:30 |
|
ADmad
|
cfd9d8a815
|
Added CakeTime::listIdentifiers()
|
2012-05-21 03:05:42 +05:30 |
|
Jelle Henkens
|
97ebbc8e23
|
Fixing coding conventions
|
2012-05-19 16:08:40 +01:00 |
|
Jelle Henkens
|
5fe22cfc8d
|
Adding support for DateTime objects in the CakeTime Utility class
|
2012-05-17 19:31:30 +01:00 |
|
Rachman Chavik
|
f89bc6503a
|
CakeTime::format crashed when timezone is passed
|
2012-05-17 19:05:45 +07:00 |
|
Jelle Henkens
|
0d9506fa2e
|
Fixing issue where nice and niceShort did not use the timezone if no dateString is passed
|
2012-05-13 13:43:06 +01:00 |
|
mark_story
|
d9244048b6
|
Fix hard coded date.
|
2012-05-12 23:25:11 -04:00 |
|
mark_story
|
683146de14
|
Add a few more tests.
|
2012-05-12 22:26:34 -04:00 |
|
mark_story
|
ca8046bfea
|
Fix whitespace and formatting.
|
2012-05-12 22:26:33 -04:00 |
|
mark_story
|
a80a7dadf8
|
Re-factor element generation.
Add the ability for arbitrary attributes.
Use built-in methods for attribute generation.
Add tests for element generation.
|
2012-05-12 22:26:33 -04:00 |
|
mark_story
|
fd5a8a8d6b
|
Fix code standards.
Remove failing test, and fix coding standards.
|
2012-05-12 22:26:33 -04:00 |
|
Magnus Johansson
|
9fa531d6e3
|
Added test cases for new features.
|
2012-05-12 22:26:33 -04:00 |
|
ADmad
|
14b7210d2b
|
Fixed server offset calculation
|
2012-05-13 06:20:29 +05:30 |
|
Jose Lorenzo Rodriguez
|
bf0f5ab118
|
Merge remote-tracking branch 'origin/2.1' into 2.2
|
2012-04-29 20:05:39 -04:30 |
|
Kyle Robinson Young
|
b8488b8dfe
|
Update 1.x @link in docblocks
|
2012-04-26 19:49:18 -07:00 |
|
euromark
|
ba8a3c5f07
|
added missing utf8_encode to pass tests on windows
|
2012-04-27 02:39:32 +02:00 |
|
ADmad
|
058d57a85a
|
Added function to convert time from user timezone to server timezone.
|
2012-04-22 01:59:26 +05:30 |
|
ADmad
|
ebf304927b
|
Added "Config.timezone" config param to avoid having to specify timezone in each function call.
|
2012-04-22 01:59:26 +05:30 |
|
ADmad
|
d34f0c2bd8
|
CakeTime functions can now use timezone string or DateTimeZone object for user offsets. (Passing numeric offsets has been kept for BC)
|
2012-04-22 01:59:08 +05:30 |
|
Kyle Robinson Young
|
90e7afbdc7
|
Correct parameter order of assertEquals and assertNotEquals
|
2012-03-22 23:37:12 -07:00 |
|
mark_story
|
1efee89169
|
Fix most coding standards issues in Test/Case/Utility
|
2012-03-13 22:59:20 -04:00 |
|
Juan Basso
|
3b1bd90ad6
|
Updated copyright to 2012.
|
2012-03-12 22:46:07 -04:00 |
|
Kyle Robinson Young
|
4176e59e52
|
Typo fixes in tests
|
2012-02-23 15:29:53 -08:00 |
|
Kyle Robinson Young
|
22582aee63
|
Upgrade legacy uses of App::build() types
|
2012-02-18 04:31:29 -08:00 |
|
Kyle Robinson Young
|
c4829dc3b8
|
Use App::RESET instead of true with App::build()
|
2012-02-18 04:04:54 -08:00 |
|
Rachman Chavik
|
d6fd051fb4
|
changing methods in CakeTime class to static
|
2012-02-14 09:34:36 +07:00 |
|
Rachman Chavik
|
8074959637
|
moving TimeHelperTest to CakeTimeTest
|
2012-02-10 22:26:00 +07:00 |
|