Daniel Stolt
dc21e33294
Minor formatting changes.
2014-08-02 19:11:12 +02:00
Daniel Stolt
b7314cf7fe
Merge branch '1.x' into feature/datelocalization
2014-08-02 18:49:26 +02:00
Daniel Stolt
755e21abc1
Fixed three failing unit tests.
2014-08-02 18:44:47 +02:00
Daniel Stolt
d892dee699
Added XML comments to IDateFormatter.
2014-08-02 18:23:31 +02:00
Daniel Stolt
3175a280ac
Did initial draft rewrite of DefaultDateLocalizationServices.
2014-08-02 03:19:34 +02:00
Daniel Stolt
fb42acb5ad
Fixed more exceptions when rendering audit trail events for deleted content items.
2014-07-31 01:53:43 +02:00
Daniel Stolt
ed8eb3f4c0
Fixed exceptions when rendering audit trail records for content items which have been deleted.
2014-07-31 01:25:49 +02:00
Daniel Stolt
5d10ed1007
Added date/time formatting (the last piece of the puzzle) to DefaultDateFormatter, and unit tests.
2014-07-30 23:17:56 +02:00
Daniel Stolt
f9bd4f7c75
Removed incorrectly merged publishing profile.
2014-07-30 18:43:15 +02:00
Daniel Stolt
98311645cd
Merged from 1.x.
2014-07-30 18:39:37 +02:00
Daniel Stolt
15e95d4e14
Fixing null reference exception is Azure output cache provider when one or more cache client configuration properties are left empty.
2014-07-30 16:44:45 +02:00
Daniel Stolt
cee531c073
Implemented DefaultDateFormatter.FormatTime() and unit tests.
2014-07-29 21:03:08 +02:00
Daniel Stolt
9f4e91f75f
Optimized performance of DefaultDateFormatter by marking certain static Regex patterns for pre-compilation. Increased the Regex cache size to 1024 in DefaultDateFormatterTests setup code.
2014-07-29 20:05:01 +02:00
Daniel Stolt
387425deb9
Fixed the last remaining failing test cases having to do with genitive month names. Turned out to be a bug in the .NET Framework that the test code now accomodates for.
2014-07-29 19:30:00 +02:00
Daniel Stolt
943d0f0e1b
Fixed all failing date formatting test cases except the ones caused by "magic" choice between genitive and non-genitive month names for some cultures.
2014-07-29 18:00:42 +02:00
Daniel Stolt
51dc062e04
Fixing styling of <strong> text in admin theme, making it visible on Chrome.
2014-07-29 15:44:06 +02:00
Daniel Stolt
4466e88924
Fixed whitespace handling in audit trail table display.
2014-07-29 15:38:44 +02:00
Daniel Stolt
c02f09d900
Changed from IEnumerable<string> to string[] on some of the properties on IDateTimeFormatProvider because they are naturally accessed by index. Incremental work on formatting implementation in DefaultDateFormatter.
2014-07-28 19:30:41 +02:00
Daniel Stolt
e48cdc7bff
Added support for the year/month and month/day date patterns to CultureDateTimeFormatProvider and DefaultDateFormatter. ALL standard formats are now fully supported - yaaay!
2014-07-28 17:52:05 +02:00
Daniel Stolt
adf900fb09
Added negative tests for DefaultDateFormatter. Corrected some namespaces.
2014-07-28 17:30:40 +02:00
Daniel Stolt
3afae3d538
Cleaned up regex used for literals matching and replacement. Changed literal patterns to use non-capturing groups for performance.
2014-07-28 17:12:25 +02:00
Daniel Stolt
4a10352ba6
Fixed remaining bugs in DefaultDateFormatter. Reached 100% verified correctness! Yaaay!
2014-07-28 05:54:09 +02:00
Daniel Stolt
28d02a503b
Add code in DefaultDateFormatterTests to analyze the tested format string to determine which parts we might reasonably expect back from parsing.
...
Fixed a number of bugs in DefaultDateFormatter.
Improved test code in DefaultDateFormatterTests.
Added genitive month name support to IDateTimeFormatProvider and its implementations.
Added support to DefaultDateFormatter for considering both genitive and non-genitive month names during parsing.
2014-07-28 03:44:00 +02:00
Daniel Stolt
5ab19a0ea8
Added another TODO item.
2014-07-27 18:00:23 +02:00
Daniel Stolt
a09ab71c27
Added format-specific overloads to IDateFormatter and DefaultDateFormatter for performance optimization.
2014-07-27 17:55:03 +02:00
Daniel Stolt
b6cdebb58d
Extended CultureDateTimeFormatProvider to take the configured calendar into consideration if it is one of the optional calendars for the configured culture, to get the correct formats.
...
Added ToString() overrides to the model classes.
Extended DefaultDateFormatter to try parsing with all supported formats provided by IDateTimeFormatProvider.
Extended DefaultDateFormatter with support for month names and abbreviated month names, in addition to month numbers.
Exterded DefaultDateFormatter with support for 12-hour time notation with AM/PM designator.
Fixed various parsing bugs in DefaultDateFormatter.
Added more extensive unit tests for DefaultDateFormatter.
2014-07-27 17:29:43 +02:00
Daniel Stolt
d4dc61038f
Updated TODO list.
2014-07-27 12:18:44 +02:00
Daniel Stolt
6e74d40b2d
Refactored the IDateFormatter abstraction and its implementation.
2014-07-27 04:55:27 +02:00
Daniel Stolt
f622d48f43
Added a few more members to the IDateTimeFormatProvider abstraction and its implementations. Removed the hard coded assumption of concatenating the short date pattern and short time pattern together to form the full date time pattern, and replaced it with proper information supplied by CultureInto.
2014-07-27 02:41:53 +02:00
Daniel Stolt
a80240b9f1
Improved RegEx construction to account for empty 13th month name. Excluded testing for Upper Sorbian (hsb) culture on Windows 8 and later.
2014-07-26 01:07:33 +02:00
Daniel Stolt
5bee0705c2
Parse months and day names and abbreviations.
2014-07-26 00:53:00 +02:00
Daniel Stolt
9a2b277aba
Cleaned up some unused code.
2014-07-25 23:26:35 +02:00
Daniel Stolt
2b37a6ed6e
Added IDependency as base interface of IDateFormatter.
2014-07-25 23:11:02 +02:00
Daniel Stolt
ac7641ea84
Incremental work on IDateLocalizationServices.
2014-07-25 17:45:11 +02:00
Daniel Stolt
5bb0543478
Fixed incorrect file name.
2014-07-25 17:09:32 +02:00
Daniel Stolt
702a780c6e
Added design notes for reference during development.
2014-07-25 17:07:56 +02:00
Daniel Stolt
7d62d40a69
Integrated the IDateFormatter abstraction and a first draft implementation and unit tests.
2014-07-25 16:51:29 +02:00
Daniel Stolt
53c449e20f
Renamed IDateServices to IDateLocalizationServices.
2014-07-25 14:07:47 +02:00
Daniel Stolt
c8a28a9534
Added missing configuration entries in Orchard.Azure.Web.
2014-07-24 01:41:16 +02:00
Daniel Stolt
bddaa8cc60
Added the Orchard.Azure.MediaServices module.
2014-03-22 15:59:41 +01:00