![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 56 Pomógł: 0 Dołączył: 15.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
Napisałem kanał atom, w którym każdy wpis entry posiada datę w znacznikach <updated>, w formacie <updated>2009-07-01T23:34:12+02:00</updated> (generowany przez funkcję date(DATE_ATOM))
Jednak validator W3C wyrzuca error: Implausible date: 2009-07-01T23:34:12+02:00 (10 occurrences) [help] <updated>2009-07-01T23:34:12+02:00</updated> Nie znalazłem w googlach żadnych rozwiązań tego problemu. Co robię źle? Ten post edytował Haczyk67 26.06.2009, 09:37:39 |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 428 Pomógł: 128 Dołączył: 17.06.2007 Ostrzeżenie: (0%) ![]() ![]() |
Zgodnie z linkiem help w komunikacie błędu:
"While this date-time value is formatted correctly, it either appears to be in the future, or far enough in the past to indicate that there might either be a software error, or an incorrectly set clock, involved." |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 56 Pomógł: 0 Dołączył: 15.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
Hm tak czytałem ten komunikat, ale co mam zrobić żeby "there might not either be a software error"(żeby nie było kiedyśtam żadnych błędów), czyli jak mam zapisać datę żeby nie wygenerowała żadnych ostrzeżeń przez validator?
Ten post edytował Haczyk67 26.06.2009, 10:30:36 |
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 428 Pomógł: 128 Dołączył: 17.06.2007 Ostrzeżenie: (0%) ![]() ![]() |
Zdaje mi się, że nie zrozumiałeś komunikatu.
Format daty jest ok ("While this date-time value is formatted correctly"). Dzisiaj jest 26.06.2009, a ty masz datę w przyszłości 2009-07-01T23:34:12+02:00 ("it either appears to be in the future") i dlatego dostajesz błąd walidacji. Może być to spowodowane błędem softu na serwerze, lub źle ustawioną datą ("software error, or an incorrectly set clock"). Wszystko napisane w komunikacie, już jaśniej się nie da. ![]() Ten post edytował ziqzaq 26.06.2009, 10:55:17 |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 56 Pomógł: 0 Dołączył: 15.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
O kurcze faktycznie
![]() ![]() |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 25.06.2025 - 00:39 |