[티스토리 스킨] 작성일시 표시

Anna·2023년 7월 2일
1

티스토리 스킨에서 날짜와 시간에 관한 치환자를 정리해봤습니다.

빠른 검색용으로 작성하는 글인지라, 티스토리 스킨의 구조나 기본 사항에 대해서는 다루지 않습니다. 치환자에 대해서도 앞뒤 부호 제외하고 영문명만 기재합니다.

그 외 티스토리 스킨에 대한 내용은 아래 링크를 참고하세요.
https://tistory.github.io/document-tistory-skin


홈 커버

홈 커버에서 사용할 수 있습니다. 세부 컨텐츠가 글인 경우(s_cover_item_article_info)에 해당됩니다.

  • cover_item_date : 글 발행 날짜/시간 (yyyy.mm.dd HH:MM)
  • cover_item_simple_date : 글 발행 날짜 (yyyy.mm.dd)

글, 페이지

일반글(s_article_rep), 보호글(s_article_protected), 페이지(s_page_rep)에서 사용할 수 있습니다.

  • article_rep_date : 날짜/시간 (yyyy. m. d. HH:MM)
  • article_rep_simple_date : 날짜만 (yyyy. m. d.)
  • article_rep_date_year : 세부시간 - 연도 (yyyy)
  • article_rep_date_month : 세부시간 - 월 (mm)
  • article_rep_date_day : 세부시간 - 일 (dd)
  • article_rep_date_hour : 세부시간 - 시 (HH)
  • article_rep_date_minute : 세부시간 - 분 (MM)
  • article_rep_date_second : 세부시간 - 초 (SS)

공지

공지(s_notice_rep)에서 사용할 수 있습니다.

  • notice_rep_date : 날짜/시간 (yyyy.mm.dd HH:MM)
  • notice_rep_simple_date : 날짜 (yyyy.mm.dd)
  • notice_rep_date_year : 세부시간 - 연도 (yyyy)
  • notice_rep_date_month : 세부시간 - 월 (mm)
  • notice_rep_date_day : 세부시간 - 일 (dd)
  • notice_rep_date_hour : 세부시간 - 시 (HH)
  • notice_rep_date_minute : 세부시간 - 분 (MM)
  • notice_rep_date_second : 세부시간 - 초 (SS)

리스트

리스트(s_list)에서 사용할 수 있습니다.

  • list_rep_regdate : 날짜 (yyyy.mm.dd)
  • list_rep_date_year : 세부시간 - 연도 (yyyy)
  • list_rep_date_month : 세부시간 - 월 (mm)
  • list_rep_date_day : 세부시간 - 일 (dd)
  • list_rep_date_hour : 세부시간 - 시 (HH)
  • list_rep_date_minute : 세부시간 - 분 (MM)
  • list_rep_date_second : 세부시간 - 초 (SS)

그 외

각각 해당 뷰에서 사용할 수 있습니다.

  • rp_rep_date : 댓글(s_rp_rep)
  • guest_rep_date : 방명록(s_guest)
  • rctps_rep_date : 최근글(s_rctps_rep), 인기글(s_rctps_popular_rep)
  • rctps_rep_simple_date : 최근글(s_rctps_rep), 인기글(s_rctps_popular_rep)
  • rctrp_rep_time : 최근 댓글(s_rctrp_rep)

참고자료

https://tistory.github.io/document-tistory-skin

profile
잡다하고 짤막한 참고자료

0개의 댓글