Commit ebb665f
committed
Refactor CreatedAt property to use DateTime and UTC
Refactored the `CreatedAt` property in `Blink.Models.BlinkVideoInfo`:
- Changed type from `string` to `DateTime`.
- Added getter and setter to handle null values and ensure UTC.
- Removed redundant `CreatedAtUtc` property.
- Introduced private nullable `_createdAt` field for storage.
These changes improve time zone handling and code simplicity.1 parent 2105905 commit ebb665f
1 file changed
+19
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
34 | 50 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 51 | + | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
| |||
0 commit comments